Drop superfluous \n in some debug messages.
This commit is contained in:
parent
a582788653
commit
9d122af8f0
|
@ -363,7 +363,7 @@ SR_API int sr_init(struct sr_context **ctx)
|
||||||
#ifdef HAVE_LIBUSB_1_0
|
#ifdef HAVE_LIBUSB_1_0
|
||||||
ret = libusb_init(&context->libusb_ctx);
|
ret = libusb_init(&context->libusb_ctx);
|
||||||
if (LIBUSB_SUCCESS != ret) {
|
if (LIBUSB_SUCCESS != ret) {
|
||||||
sr_err("libusb_init() returned %s.\n", libusb_error_name(ret));
|
sr_err("libusb_init() returned %s.", libusb_error_name(ret));
|
||||||
ret = SR_ERR;
|
ret = SR_ERR;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
|
@ -291,7 +291,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
|
||||||
|
|
||||||
if (!(vdev->archive = zip_open(vdev->sessionfile, 0, &ret))) {
|
if (!(vdev->archive = zip_open(vdev->sessionfile, 0, &ret))) {
|
||||||
sr_err("Failed to open session file '%s': "
|
sr_err("Failed to open session file '%s': "
|
||||||
"zip error %d\n", vdev->sessionfile, ret);
|
"zip error %d.", vdev->sessionfile, ret);
|
||||||
return SR_ERR;
|
return SR_ERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue