From: Karel Zak Date: Mon, 21 Feb 2011 15:22:52 +0000 (+0100) Subject: mkswap: fix compiler warning X-Git-Tag: v2.20-rc1~526 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d1b0fe28e44eb57ef276d17e4e67ede70492b4f;p=thirdparty%2Futil-linux.git mkswap: fix compiler warning mkswap.c: In function ‘main’: mkswap.c:646:6: warning: too few arguments for format Signed-off-by: Karel Zak --- diff --git a/disk-utils/mkswap.c b/disk-utils/mkswap.c index 7a30cdbb55..0f4ad398fd 100644 --- a/disk-utils/mkswap.c +++ b/disk-utils/mkswap.c @@ -651,7 +651,7 @@ main(int argc, char **argv) { if (fgetfilecon(DEV, &oldcontext) < 0) { if (errno != ENODATA) err(EXIT_FAILURE, - _("%s: %s: unable to obtain selinux file label: %s"), + _("%s: unable to obtain selinux file label"), device_name); if (matchpathcon(device_name, statbuf.st_mode, &oldcontext)) errx(EXIT_FAILURE, _("unable to matchpathcon()"));