]> sigrok.org Git - libsigrok.git/commitdiff
Drop superfluous \n in some debug messages.
authorUwe Hermann <redacted>
Tue, 10 Dec 2013 17:18:58 +0000 (18:18 +0100)
committerUwe Hermann <redacted>
Tue, 17 Dec 2013 16:45:18 +0000 (17:45 +0100)
backend.c
session_driver.c

index 41c74c7c1c90446ef47f1861ebf7f3f5f78d3b98..f290e579fb71d394d0ef7f98a421d8d363bfc826 100644 (file)
--- 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;
        }
index 4c7082cac00b3de4257a7014b5008e1c84b091fa..5041092b4c5e760cc53ce3346c9ba42f6ead3b1b 100644 (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;
        }