diff options
author | Rob Landley <rob@landley.net> | 2016-06-10 19:00:25 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-06-10 19:00:25 -0500 |
commit | 4b925a785bd9712f9a30a8b30497e6966993ae8e (patch) | |
tree | b64ac5003a09c8198972e8e01e96b9ab2cb6431b /toys | |
parent | 5cf208c2ec9639bbfba32a1b702d004d7a45f954 (diff) | |
download | toybox-4b925a785bd9712f9a30a8b30497e6966993ae8e.tar.gz |
Missing parentheses. (Oops.)
Diffstat (limited to 'toys')
-rw-r--r-- | toys/pending/netstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/netstat.c b/toys/pending/netstat.c index c77f49f5..bb72f461 100644 --- a/toys/pending/netstat.c +++ b/toys/pending/netstat.c @@ -424,7 +424,7 @@ static void scan_pid_inodes(char *path) if (!isdigit(entry->d_name[0])) continue; snprintf(link_name, sizeof(link_name), "%s/%s", path, entry->d_name); - if ((link = xreadlink(link_name) && (inode = ss_inode(link))!=-1) + if ((link = xreadlink(link_name)) && (inode = ss_inode(link))!=-1) add2list(inode); free(link); } |