diff options
author | aiju <aiju@phicode.de> | 2011-07-05 05:41:00 -0400 |
---|---|---|
committer | aiju <aiju@phicode.de> | 2011-07-05 05:41:00 -0400 |
commit | ce14460bed605c31ab0ce78aa460e0d6f8fe1067 (patch) | |
tree | cac311271ad1d2acc3d054d4b66ea5f1bb7c65a9 | |
parent | f2a9244e2d5cf7011c07e5a3ea34c1fa032cae5c (diff) |
fixed pstree bug
-rw-r--r-- | sys/src/cmd/pstree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/pstree.c b/sys/src/cmd/pstree.c index 069c98e22..159a5e3d5 100644 --- a/sys/src/cmd/pstree.c +++ b/sys/src/cmd/pstree.c @@ -151,6 +151,7 @@ printargs(int pid) while(*p == ' ') *p-- = 0; print("%s", b); + close(fd); } void |