From 8d1b0fe28e44eb57ef276d17e4e67ede70492b4f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 21 Feb 2011 16:22:52 +0100 Subject: [PATCH] mkswap: fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit mkswap.c: In function ‘main’: mkswap.c:646:6: warning: too few arguments for format Signed-off-by: Karel Zak --- disk-utils/mkswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()")); -- 2.47.3