[git commit] smemcap: keep outputting by ignoring transient processes, take two
Denys Vlasenko
vda.linux at googlemail.com
Thu Aug 30 09:49:51 UTC 2018
commit: https://git.busybox.net/busybox/commit/?id=270becc2409e7b4c4e83b3f3272ff28d30805c55
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
procps/smemcap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/procps/smemcap.c b/procps/smemcap.c
index 96b565f59..2f8ab192e 100644
--- 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 = xopen(path, O_RDONLY);
+ fd = open(path, O_RDONLY);
if (fd == -1) {
/* skip vanished processes between dir listing and traversal */
return;
More information about the busybox-cvs
mailing list