diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-12 17:49:38 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-12 17:49:38 +0200 |
commit | 2e79bc6c77560d4460847a459857039774de004a (patch) | |
tree | 17148ca59e5b221bcd0dda72023c6ac4748e93f4 /procps/fuser.c | |
parent | 30f0ea6cab956ed59ecc5de82459187763a2b868 (diff) | |
download | busybox-w32-1_18_5.tar.gz busybox-w32-1_18_5.tar.bz2 busybox-w32-1_18_5.zip |
Apply post-1.18.4 fixes, bump version to 1.18.51_18_5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r-- | procps/fuser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/fuser.c b/procps/fuser.c index addf1a7d8..be19098dd 100644 --- a/procps/fuser.c +++ b/procps/fuser.c | |||
@@ -271,7 +271,7 @@ Find processes which use FILEs or PORTs | |||
271 | if (sscanf(*pp, "%u/%4s", &port, tproto) != 2) | 271 | if (sscanf(*pp, "%u/%4s", &port, tproto) != 2) |
272 | goto file; | 272 | goto file; |
273 | sprintf(path, "/proc/net/%s", tproto); | 273 | sprintf(path, "/proc/net/%s", tproto); |
274 | if (access(path, R_OK) != 0) { /* PORT/PROTO */ | 274 | if (access(path, R_OK) == 0) { /* PORT/PROTO */ |
275 | scan_proc_net(path, port); | 275 | scan_proc_net(path, port); |
276 | } else { /* FILE */ | 276 | } else { /* FILE */ |
277 | file: | 277 | file: |