index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-14 18:30:23 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-14 18:30:23 +0000 |
commit | 07e46d2fc06d2296cca83e5c1a1c51cb9d0b34f8 (patch) | |
tree | 5e3965d675ac82fee6cc0836acc853d8359f9f07 | |
parent | a56e13d770c8852b8d7d96e44164544876bbfe4f (diff) |
-rw-r--r-- | src/pacman/util.c | 3 |
diff --git a/src/pacman/util.c b/src/pacman/util.c index 757244a5..a8ad0059 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -38,6 +38,7 @@ #include "util.h" #include "list.h" #include "conf.h" +#include "log.h" extern int maxcols; extern config_t *config; @@ -195,7 +196,7 @@ int reg_match(char *string, char *pattern) regex_t reg; if(regcomp(®, pattern, REG_EXTENDED | REG_NOSUB | REG_ICASE) != 0) { - fprintf(stderr, "error: %s is not a valid regular expression.\n", pattern); + ERR(NL, "%s is not a valid regular expression.\n", pattern); return(-1); } result = regexec(®, string, 0, 0, 0); |