aboutsummaryrefslogtreecommitdiff
path: root/tests/fs-tests/integrity
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fs-tests/integrity')
-rw-r--r--tests/fs-tests/integrity/integck.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c
index 8703355..b8a440b 100644
--- a/tests/fs-tests/integrity/integck.c
+++ b/tests/fs-tests/integrity/integck.c
@@ -58,9 +58,9 @@
if (!(cond)) { \
int _err = errno; \
fflush(stdout); \
- errmsg("condition '%s' failed at %s:%d\n", \
+ errmsg("condition '%s' failed at %s:%d", \
stringify(cond), __FILE__, __LINE__); \
- errmsg("error %d (%s)\n", _err, strerror(_err)); \
+ errmsg("error %d (%s)", _err, strerror(_err)); \
exit(EXIT_FAILURE); \
} \
} while(0)
@@ -69,7 +69,7 @@
if (args.power_cut_mode) { \
int _err = errno; \
errmsg(fmt, ##__VA_ARGS__); \
- errmsg("error %d (%s) at %s:%d\n", \
+ errmsg("error %d (%s) at %s:%d", \
_err, strerror(_err), __FILE__, __LINE__); \
} \
} while(0)