diff options
author | Elliott Hughes <enh@google.com> | 2017-02-02 16:50:46 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-02-03 17:15:32 -0600 |
commit | 0685ab75525609cddfeadc6ad8da6f2ff18be7ac (patch) | |
tree | f6a6b00d3753de8daa1ec0720edba0bc1fce8b72 | |
parent | 2b4594c50b4a2fe2106af85ce4fd369fbc0820e3 (diff) | |
download | toybox-0685ab75525609cddfeadc6ad8da6f2ff18be7ac.tar.gz |
Fix operator precedence error in df.
-rw-r--r-- | toys/posix/df.c | 2 |
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; } |