Add \n to WLOG when no STLINK found
[fw/stlink] / 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;