[Toybox] [PATCH] Fix precedence error in vmstat.

enh enh at google.com
Wed Apr 4 10:05:29 PDT 2018


  toys/other/vmstat.c:98:12: error: logical not is only
  applied to the left hand side of this bitwise operator
  [-Werror,-Wlogical-not-parentheses]
      if ((!toys.optflags&FLAG_n) && isatty(1)) terminal_size(0, &rows);
           ^             ~
---
 toys/other/vmstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-precedence-error-in-vmstat.patch
Type: text/x-patch
Size: 1082 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20180404/8261cc37/attachment-0002.bin>


More information about the Toybox mailing list