index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-14 18:43:51 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-14 18:43:51 +0000 |
commit | e4c9ab48959f3312afff074015e062f5791374a7 (patch) | |
tree | 053ac6f041a581b46b5ecca34de5afc1e44e5d00 /src/pacman/log.h | |
parent | 7ab3bb136decf09febc63861a4f274728d78e41e (diff) |
-rw-r--r-- | src/pacman/log.h | 4 |
diff --git a/src/pacman/log.h b/src/pacman/log.h index 6cd5b346..bafaae81 100644 --- a/src/pacman/log.h +++ b/src/pacman/log.h @@ -26,6 +26,10 @@ pm_fprintf(stderr, line, "error: "); \ pm_fprintf(stderr, CL, fmt, ##args); \ } while(0) +#define WARN(line, fmt, args...) do { \ + pm_fprintf(stderr, line, "warning: "); \ + pm_fprintf(stderr, CL, fmt, ##args); \ +} while(0) enum { NL, /* new line */ |