From: Uwe Hermann Date: Tue, 10 Dec 2013 17:18:58 +0000 (+0100) Subject: Drop superfluous \n in some debug messages. X-Git-Tag: libsigrok-0.3.0~430 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9d122af8f0c243278cc5edd79aae234aaa34984d;p=libsigrok.git Drop superfluous \n in some debug messages. --- diff --git a/backend.c b/backend.c index 41c74c7c..f290e579 100644 --- a/backend.c +++ b/backend.c @@ -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; } diff --git a/session_driver.c b/session_driver.c index 4c7082ca..5041092b 100644 --- a/session_driver.c +++ b/session_driver.c @@ -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; }