]> sigrok.org Git - libsigrok.git/blobdiff - src/session.c
Removal of sdi->index, step 4: fix trivial sr_dev_inst_new() calls
[libsigrok.git] / src / session.c
index f2c5edc40ed14c35db0ba4f1cc625c9dca20518c..11da1378b56508c67c804d66bbb3169f429ea7ad 100644 (file)
@@ -467,8 +467,8 @@ SR_API int sr_session_start(struct sr_session *session)
                }
                if (enabled_channels == 0) {
                        ret = SR_ERR;
-                       sr_err("%s instance %d has no enabled channels!",
-                                       sdi->driver->name, sdi->index);
+                       sr_err("%s using connection %s has no enabled channels!",
+                                       sdi->driver->name, sdi->connection_id);
                        break;
                }