Drop superfluous \n in some debug messages.

This commit is contained in:
Uwe Hermann 2013-12-10 18:18:58 +01:00
parent a582788653
commit 9d122af8f0
2 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ SR_API int sr_init(struct sr_context **ctx)
#ifdef HAVE_LIBUSB_1_0
ret = libusb_init(&context->libusb_ctx);
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;
goto done;
}

View File

@ -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))) {
sr_err("Failed to open session file '%s': "
"zip error %d\n", vdev->sessionfile, ret);
"zip error %d.", vdev->sessionfile, ret);
return SR_ERR;
}