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 b52c0f51b..6f971a116 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -75,6 +75,7 @@ const char* FAST_FUNC get_cached_groupname(gid_t gid)
75 return get_cached(&groupname, gid, gid2group_utoa); 75 return get_cached(&groupname, gid, gid2group_utoa);
76} 76}
77 77
78#if !ENABLE_PLATFORM_MINGW32
78 79
79#define PROCPS_BUFSIZE 1024 80#define PROCPS_BUFSIZE 1024
80 81
@@ -622,6 +623,8 @@ void FAST_FUNC read_cmdline(char *buf, int col, unsigned pid, const char *comm)
622 } 623 }
623} 624}
624 625
626#endif /* ENABLE_PLATFORM_MINGW32 */
627
625/* from kernel: 628/* from kernel:
626 // pid comm S ppid pgid sid tty_nr tty_pgrp flg 629 // pid comm S ppid pgid sid tty_nr tty_pgrp flg
627 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ 630 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \