diff options
-rw-r--r-- | libbb/find_pid_by_name.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/find_pid_by_name.c b/libbb/find_pid_by_name.c index d4bea8ab5..22afa1ce5 100644 --- a/libbb/find_pid_by_name.c +++ b/libbb/find_pid_by_name.c | |||
@@ -40,8 +40,10 @@ and therefore comm field contains "exe". | |||
40 | 40 | ||
41 | static int comm_match(procps_status_t *p, const char *procName) | 41 | static int comm_match(procps_status_t *p, const char *procName) |
42 | { | 42 | { |
43 | #if !ENABLE_PLATFORM_MINGW32 | ||
43 | int argv1idx; | 44 | int argv1idx; |
44 | const char *argv1; | 45 | const char *argv1; |
46 | #endif | ||
45 | 47 | ||
46 | if (strncmp(p->comm, procName, 15) != 0) | 48 | if (strncmp(p->comm, procName, 15) != 0) |
47 | return 0; /* comm does not match */ | 49 | return 0; /* comm does not match */ |