aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pstree/files/patch-pstree.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/pstree/files/patch-pstree.c')
-rw-r--r--sysutils/pstree/files/patch-pstree.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sysutils/pstree/files/patch-pstree.c b/sysutils/pstree/files/patch-pstree.c
deleted file mode 100644
index 122956e3f867..000000000000
--- a/sysutils/pstree/files/patch-pstree.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- pstree.c.orig
-+++ pstree.c
-@@ -655,8 +655,9 @@
- sprintf(nhead, "%s%s ", head,
- head[0] == '\0' ? "" : EXIST(P[idx].sister) ? C->bar : " ");
-
-- for (child = P[idx].child; EXIST(child); child = P[child].sister)
-- PrintTree(child, nhead);
-+ if (P[idx].pid)
-+ for (child = P[idx].child; EXIST(child); child = P[child].sister)
-+ PrintTree(child, nhead);
- }
-
- void Usage(void) {