summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-22 10:57:27 +0000
committerJim Meyering <jim@meyering.net>2001-11-22 10:57:27 +0000
commit988d9b05dd8d35e0e1b8b0c103bef8c68cb27700 (patch)
treea3d5ae4f86d38a670c6b5dafdcaa6ae260e6d958
parentc531932fd24373afade8bfb9309eb1cc9a4dad0a (diff)
downloadcoreutils-988d9b05dd8d35e0e1b8b0c103bef8c68cb27700.tar.xz
(main): Add a literal format string to suppress
a warning from gcc's -Wformat-security.
-rw-r--r--src/mknod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mknod.c b/src/mknod.c
index 2f37052bd..47c1f8d44 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -136,7 +136,7 @@ main (int argc, char **argv)
msg = _("too many arguments");
else
msg = _("wrong number of arguments");
- error (0, 0, msg);
+ error (0, 0, "%s", msg);
usage (1);
}