summaryrefslogtreecommitdiff
path: root/procps/pgrep.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-01-07 16:13:14 +0000
committerDenis Vlasenko2008-01-07 16:13:14 +0000
commit6b404431aa7adea24120894d59daeebc5cbe9727 (patch)
treef3ccda749daf6fe9f80f4ee99fbb5d1b0ed4cbb7 /procps/pgrep.c
parent4e9ca75281a25dcdbb3e2d2fa79108b02afa43db (diff)
downloadbusybox-6b404431aa7adea24120894d59daeebc5cbe9727.zip
busybox-6b404431aa7adea24120894d59daeebc5cbe9727.tar.gz
ps: fix build breakage from vda's recent commit
*: whitespace fixes
Diffstat (limited to 'procps/pgrep.c')
-rw-r--r--procps/pgrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/pgrep.c b/procps/pgrep.c
index f5d4cfc..2ebcca1 100644
--- a/procps/pgrep.c
+++ b/procps/pgrep.c
@@ -116,7 +116,7 @@ int pgrep_main(int argc, char **argv)
cmd = proc->comm;
/* NB: OPT_INVERT is always 0 or 1 */
if ((regexec(&re_buffer, cmd, 1, re_match, 0) == 0 /* match found */
- && (!OPT_ANCHOR || (re_match[0].rm_so == 0 && re_match[0].rm_eo == strlen(cmd)))) ^ OPT_INVERT
+ && (!OPT_ANCHOR || (re_match[0].rm_so == 0 && re_match[0].rm_eo == strlen(cmd)))) ^ OPT_INVERT
) {
matched_pid = proc->pid;
if (OPT_LAST) {