From 0685ab75525609cddfeadc6ad8da6f2ff18be7ac Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 2 Feb 2017 16:50:46 -0800 Subject: Fix operator precedence error in df. --- toys/posix/df.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3