pgrep: fix a "missing closing paren" build error
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 28 Feb 2013 14:51:55 +0000 (15:51 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 28 Feb 2013 14:51:55 +0000 (15:51 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/pgrep.c

index 7616027b72dc5ba19550066d1cf5749756c07a68..8daf5b28ae0b7566668c92d97f0d73340a4406a4 100644 (file)
@@ -128,7 +128,7 @@ int pgrep_main(int argc UNUSED_PARAM, char **argv)
                bb_show_usage();
 
        if (argv[0])
-               xregcomp(&re_buffer, argv[0], OPT_ANCHOR ? REG_EXTENDED : (REG_EXTENDED|REG_NOSUB);
+               xregcomp(&re_buffer, argv[0], OPT_ANCHOR ? REG_EXTENDED : (REG_EXTENDED|REG_NOSUB));
 
        matched_pid = 0;
        cmd_last = NULL;