From 988d9b05dd8d35e0e1b8b0c103bef8c68cb27700 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 22 Nov 2001 10:57:27 +0000 Subject: (main): Add a literal format string to suppress a warning from gcc's -Wformat-security. --- src/mknod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3-70-g09d2