From 5835b1eec5a1f1e463c0762c510c6643fa2bff62 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Sun, 29 Jul 2007 17:20:10 +1000 Subject: Add -Wstrict-prototypes to compiler args, and fix warnings caused. --- utils/statd/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/statd/monitor.c') diff --git a/utils/statd/monitor.c b/utils/statd/monitor.c index e40ff7d..eadc434 100644 --- a/utils/statd/monitor.c +++ b/utils/statd/monitor.c @@ -280,7 +280,7 @@ void load_state(void) b = strchr(buf, '\n'); if (b) *b = 0; sscanf(buf, "%x %x %x %x ", - &addr, &prog, &vers, &proc, myname); + &addr, &prog, &vers, &proc); b = buf+36; for (i=0; i