aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/procps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index 476e1f34d..6bc16d166 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -375,7 +375,7 @@ procps_status_t *procps_scan(procps_status_t* sp, int flags)
}
}
#else
- if (flags & *PSSCAN_ARGV0|PSSCAN_ARGVN)) {
+ if (flags & (PSSCAN_ARGV0|PSSCAN_ARGVN)) {
free(sp->argv0);
sp->argv0 = NULL;
strcpy(filename_tail, "/cmdline");