index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/util/testpkg.c | 3 |
diff --git a/src/util/testpkg.c b/src/util/testpkg.c index a64e6b34..66569f1e 100644 --- a/src/util/testpkg.c +++ b/src/util/testpkg.c @@ -28,12 +28,13 @@ #include <alpm.h> -void output_cb(unsigned short level, char *msg) +void output_cb(pmloglevel_t level, char *msg) { if(strlen(msg)) { switch(level) { case PM_LOG_ERROR: printf("error: "); break; case PM_LOG_WARNING: printf("warning: "); break; + default: break; } puts(msg); } |