aboutsummaryrefslogtreecommitdiff
path: root/libbb/procps.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/procps.c')
-rw-r--r--libbb/procps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index 4cc3cb2a1..4f9705bc1 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -74,6 +74,7 @@ const char* FAST_FUNC get_cached_groupname(gid_t gid)
74 return get_cached(&groupname, gid, gid2group_utoa); 74 return get_cached(&groupname, gid, gid2group_utoa);
75} 75}
76 76
77#if !ENABLE_PLATFORM_MINGW32
77 78
78#define PROCPS_BUFSIZE 1024 79#define PROCPS_BUFSIZE 1024
79 80
@@ -629,6 +630,8 @@ void FAST_FUNC read_cmdline(char *buf, int col, unsigned pid, const char *comm)
629 } 630 }
630} 631}
631 632
633#endif /* ENABLE_PLATFORM_MINGW32 */
634
632/* from kernel: 635/* from kernel:
633 // pid comm S ppid pgid sid tty_nr tty_pgrp flg 636 // pid comm S ppid pgid sid tty_nr tty_pgrp flg
634 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ 637 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \