X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fsession_file.c;fp=src%2Fsession_file.c;h=2515ca5e7ebc9ab1e5225a7f4c4ec88a94aa9dc5;hb=e37478675383654b98e3ec3d4c67b0b65c6afacb;hp=663fea722f9db161eafee3dc5f316809560c785b;hpb=f1ba6b4b2c9a8ecf90bb31efb218752aa7e49d1a;p=libsigrok.git diff --git a/src/session_file.c b/src/session_file.c index 663fea72..2515ca5e 100644 --- a/src/session_file.c +++ b/src/session_file.c @@ -175,7 +175,7 @@ SR_PRIV struct sr_dev_inst *sr_session_prepare_sdi(const char *filename, struct sdi = g_malloc0(sizeof(struct sr_dev_inst)); sdi->driver = &session_driver; - sdi->status = SR_ST_ACTIVE; + sdi->status = SR_ST_INACTIVE; if (!session_driver_initialized) { /* first device, init the driver */ session_driver_initialized = 1;