diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2011-10-19 00:09:18 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-10-19 00:11:46 +0200 |
commit | 699f6faa70d9c118a09b36ae273818b63f77f30d (patch) | |
tree | 2dde46a0c884eed3d04362ba80452ce78a771b9d | |
parent | 5c8ad1fc7c933d3d2b1524c81c5daea76dec2841 (diff) |
Add missing format strings for error, printk, problem
Some calls to `error', `printk', and `problem' lacked a format
string, leading to build failure when compiling with stricter CFLAGS.
* nfs/mount.c (mount_root): Add format string for `error' calls which
lacked it.
* pfinet/main.c (pfinet_bind): Likewise.
* term/main.c (main): Likewise.
* utils/shd.c (run): Likewise.
* utils/storeinfo.c (main): Likewise.
* pfinet/linux-src/include/net/tcp.h (tcp_clear_xmit_timer): Add
format string for `printk' call which lacked it.
(tcp_timer_is_set): Likewise.
* ufs-fsck/utilities.c (punt): Add format string for `problem' call
which lacked it.
-rw-r--r-- | ufs-fsck/utilities.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs-fsck/utilities.c b/ufs-fsck/utilities.c index 5e081fe8..14705f84 100644 --- a/ufs-fsck/utilities.c +++ b/ufs-fsck/utilities.c @@ -270,7 +270,7 @@ retch (char *reason) static void punt (char *msg) { - problem (0, msg); + problem (0, "%s", msg); flush_problems (); exit (8); } |