From: Karel Zak Date: Tue, 14 May 2013 21:40:51 +0000 (+0200) Subject: libmount: use err.h in test X-Git-Tag: v2.24-rc1~550 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9104cd2850dcda7663f9553c8fa348d4184d6229;p=thirdparty%2Futil-linux.git libmount: use err.h in test Signed-off-by: Karel Zak --- diff --git a/libmount/src/context.c b/libmount/src/context.c index 08e3951f99..85281d9c4c 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -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");