summaryrefslogtreecommitdiff
path: root/mount-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount-setup.c')
-rw-r--r--mount-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount-setup.c b/mount-setup.c
index 1b3d32bb37..cb91e181bf 100644
--- a/mount-setup.c
+++ b/mount-setup.c
@@ -110,7 +110,7 @@ static int mount_cgroup_controllers(void) {
return -ENOENT;
/* Ignore the header line */
- fgets(buf, sizeof(buf), f);
+ (void) fgets(buf, sizeof(buf), f);
for (;;) {
MountPoint p;