summaryrefslogtreecommitdiff
path: root/swap.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-10 03:34:31 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-10 03:34:31 +0200
commitbab45044482dc012331c768c08d78a2d006485ad (patch)
tree23c288fd5acf57ae58e7e4b9895ad2fb7f95d3cd /swap.c
parent462b33e96ad1732658b39895eea0b146e98bc3a5 (diff)
make gcc shut up
Diffstat (limited to 'swap.c')
-rw-r--r--swap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/swap.c b/swap.c
index 5c161e10ca..fffd0b9239 100644
--- a/swap.c
+++ b/swap.c
@@ -318,7 +318,8 @@ static int swap_load_proc_swaps(Manager *m) {
Meta *meta;
rewind(m->proc_swaps);
- fscanf(m->proc_self_mountinfo, "%*s %*s %*s %*s %*s\n");
+
+ (void) fscanf(m->proc_self_mountinfo, "%*s %*s %*s %*s %*s\n");
for (;;) {
char *dev = NULL, *d;