Permalink
Browse files

libmount: use err.h in test

Signed-off-by: Karel Zak <kzak@redhat.com>
  • Loading branch information...
1 parent 69e7452 commit 9104cd2850dcda7663f9553c8fa348d4184d6229 @karelzak committed May 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 libmount/src/context.c
View
@@ -2317,7 +2317,7 @@ int test_mount(struct libmnt_test *ts, int argc, char *argv[])
rc = mnt_context_mount(cxt);
if (rc)
- printf("failed to mount: %m\n");
+ warn("failed to mount");
else
printf("successfully mounted\n");

0 comments on commit 9104cd2

Please sign in to comment.