Better error reporting on session start failure

This commit is contained in:
Bert Vermeulen 2013-10-16 10:40:38 +02:00
parent df6b0f99af
commit 568dcacc1a
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ SR_API int sr_session_start(void)
sdi = l->data;
if ((ret = sdi->driver->dev_acquisition_start(sdi, sdi)) != SR_OK) {
sr_err("%s: could not start an acquisition "
"(%d)", __func__, ret);
"(%s)", __func__, sr_strerror(ret));
break;
}
}