diff options
Diffstat (limited to 'swaponoff.c')
-rw-r--r-- | swaponoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaponoff.c b/swaponoff.c index ce0e2c6cc..d9eb5baae 100644 --- a/swaponoff.c +++ b/swaponoff.c | |||
@@ -59,7 +59,7 @@ static void swap_enable_disable(char *device) | |||
59 | perror_msg_and_die(applet_name); | 59 | perror_msg_and_die(applet_name); |
60 | } | 60 | } |
61 | 61 | ||
62 | static void do_em_all() | 62 | static void do_em_all(void) |
63 | { | 63 | { |
64 | struct mntent *m; | 64 | struct mntent *m; |
65 | FILE *f = setmntent("/etc/fstab", "r"); | 65 | FILE *f = setmntent("/etc/fstab", "r"); |