aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/df.c b/toys/posix/df.c
index 3b6e6d4c..fddc3039 100644
--- a/toys/posix/df.c
+++ b/toys/posix/df.c
@@ -202,7 +202,7 @@ void df_main(void)
if (mt->stat.st_dev == mt2->stat.st_dev) {
// For --bind mounts, show earliest mount
if (!strcmp(mt->device, mt2->device)) {
- if (!toys.optflags & FLAG_a) mt3->stat.st_dev = 0;
+ if (!(toys.optflags & FLAG_a)) mt3->stat.st_dev = 0;
mt3 = mt2;
} else mt2->stat.st_dev = 0;
}