Add \n to WLOG when no STLINK found
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Thu, 7 Jun 2012 16:13:43 +0000 (18:13 +0200)
committerUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Thu, 7 Jun 2012 16:17:29 +0000 (18:17 +0200)
src/stlink-usb.c

index 72ffda17787439dfec7611b0efc7f0cf7aa62227..a25f7ec55d5b6815f28ab0e4ae242079eef842d4 100644 (file)
@@ -652,7 +652,7 @@ stlink_t* stlink_open_usb(const int verbose) {
     if (slu->usb_handle == NULL) {
        slu->usb_handle = libusb_open_device_with_vid_pid(slu->libusb_ctx, USB_ST_VID, USB_STLINK_PID);
        if (slu->usb_handle == NULL) {
-           WLOG("Couldn't find any ST-Link/V2 devices");
+           WLOG("Couldn't find any ST-Link/V2 devices\n");
            goto on_error;
        }
        slu->protocoll = 1;