Examples: add a missing \n at end of error messages
authorLudovic Rousseau <ludovic.rousseau@gmail.com>
Mon, 10 Jun 2013 13:27:23 +0000 (15:27 +0200)
committerLudovic Rousseau <ludovic.rousseau+github@gmail.com>
Tue, 11 Jun 2013 15:35:11 +0000 (17:35 +0200)
examples/xusb.c
libusb/version_nano.h

index c4740b6..3d3b853 100644 (file)
@@ -1004,7 +1004,7 @@ int main(int argc, char** argv)
                                        break;
                                case 'b':
                                        if ((j+1 >= argc) || (argv[j+1][0] == '-') || (argv[j+1][0] == '/')) {
-                                               printf("   Option -b requires a file name");
+                                               printf("   Option -b requires a file name\n");
                                                return 1;
                                        }
                                        binary_name = argv[++j];
@@ -1012,7 +1012,7 @@ int main(int argc, char** argv)
                                        break;
                                case 'l':
                                        if ((j+1 >= argc) || (argv[j+1][0] == '-') || (argv[j+1][0] == '/')) {
-                                               printf("   Option -l requires an ISO 639-1 language parameter");
+                                               printf("   Option -l requires an ISO 639-1 language parameter\n");
                                                return 1;
                                        }
                                        error_lang = argv[++j];
index 47f4f0d..40cf92b 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10733
+#define LIBUSB_NANO 10734