libmount: use err.h in test

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2013-05-14 23:40:51 +02:00
parent 69e74525bb
commit 9104cd2850
1 changed files with 1 additions and 1 deletions

View File

@ -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");