projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a2621a
)
smemcap: keep outputting by ignoring transient processes, take two
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 30 Aug 2018 09:49:51 +0000
(11:49 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 30 Aug 2018 09:49:51 +0000
(11:49 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/smemcap.c
patch
|
blob
|
history
diff --git
a/procps/smemcap.c
b/procps/smemcap.c
index 96b565f591db94fb6ced45183275758ef57da290..2f8ab192e2101c8445cee79c9299534d3b482ed1 100644
(file)
--- a/
procps/smemcap.c
+++ b/
procps/smemcap.c
@@
-65,7
+65,7
@@
static void archivefile(const char *path)
struct stat s;
/* buffer the file */
- fd =
x
open(path, O_RDONLY);
+ fd = open(path, O_RDONLY);
if (fd == -1) {
/* skip vanished processes between dir listing and traversal */
return;