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