diff options
Diffstat (limited to 'src/pacman/log.c')
-rw-r--r-- | src/pacman/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/log.c b/src/pacman/log.c index 6ff488a9..31a3152a 100644 --- a/src/pacman/log.c +++ b/src/pacman/log.c @@ -33,7 +33,7 @@ #define LOG_STR_LEN 256 -extern pmconfig_t *config; +extern config_t *config; static int neednl; /* for cleaner message output */ @@ -41,7 +41,7 @@ static int neednl; /* for cleaner message output */ */ void cb_log(unsigned short level, char *msg) { - char str[8] = ""; + char str[9] = ""; switch(level) { case PM_LOG_DEBUG: |