diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-22 10:57:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-22 10:57:27 +0000 |
commit | 988d9b05dd8d35e0e1b8b0c103bef8c68cb27700 (patch) | |
tree | a3d5ae4f86d38a670c6b5dafdcaa6ae260e6d958 /src | |
parent | c531932fd24373afade8bfb9309eb1cc9a4dad0a (diff) | |
download | coreutils-988d9b05dd8d35e0e1b8b0c103bef8c68cb27700.tar.xz |
(main): Add a literal format string to suppress
a warning from gcc's -Wformat-security.
Diffstat (limited to 'src')
-rw-r--r-- | src/mknod.c | 2 |
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); } |