summaryrefslogtreecommitdiff
path: root/libbb/procps.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/procps.c')
-rw-r--r--libbb/procps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index 476e1f3..6bc16d1 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");