]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/statd/monitor.c
Add -Wstrict-prototypes to compiler args, and fix warnings caused.
[nfs-utils.git] / utils / statd / monitor.c
index e40ff7d3a49a2c6b28860865336c9d257592dd8e..eadc43441fbd1e6a0ebeba00b6f5e6ca77754432 100644 (file)
@@ -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<SM_PRIV_SIZE; i++) {
                                sscanf(b, "%2x", &p);