babeltrace-cfg.c: add "Command line error" prefix to error messages
[babeltrace.git] / converter / babeltrace-cfg.c
index 706fbfd803402699b7bcf873f0059568821ad204..b64fa8db644ef78c7bd81628c122d0a540131779 100644 (file)
  * (since the following lines usually describe the error and possible
  * solutions), or the error prefix just at the end.
  */
-#define printf_err(fmt, args...)                       \
-       do {                                            \
-               if (is_first_error) {                   \
-                       fprintf(stderr, "Error: ");     \
-                       is_first_error = false;         \
-               }                                       \
-               fprintf(stderr, fmt, ##args);           \
+#define printf_err(fmt, args...)                                       \
+       do {                                                            \
+               if (is_first_error) {                                   \
+                       fprintf(stderr, "Command line error: ");        \
+                       is_first_error = false;                         \
+               }                                                       \
+               fprintf(stderr, fmt, ##args);                           \
        } while (0)
 
 static bool is_first_error = true;
This page took 0.023195 seconds and 4 git commands to generate.