summaryrefslogtreecommitdiff
path: root/ubi-utils/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src/common.h')
-rw-r--r--ubi-utils/src/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/common.h b/ubi-utils/src/common.h
index 203238e..a3fc51f 100644
--- a/ubi-utils/src/common.h
+++ b/ubi-utils/src/common.h
@@ -51,7 +51,7 @@ extern "C" {
#define sys_errmsg(fmt, ...) ({ \
int _err = errno; \
fprintf(stderr, PROGRAM_NAME " error: " fmt "\n", ##__VA_ARGS__); \
- fprintf(stderr, "error %d (%s)", _err, strerror(_err)); \
+ fprintf(stderr, "error %d (%s)\n", _err, strerror(_err)); \
-1; \
})