index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 19:50:57 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 19:50:57 +0000 |
commit | c583f03886f262138330249cfeef94ab2dd228a8 (patch) | |
tree | 740b63a2964e01fde23d6a51418c39a790ebb8c3 /lib/libalpm/alpm.c | |
parent | fac045a958ab853f028a79c32353cb0c51a41d63 (diff) |
-rw-r--r-- | lib/libalpm/alpm.c | 4 |
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 145996fe..9dc6556b 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -529,11 +529,11 @@ int alpm_trans_release() int alpm_logaction(char *fmt, ...) { - char str[256]; + char str[LOG_STR_LEN]; va_list args; va_start(args, fmt); - vsnprintf(str, 256, fmt, args); + vsnprintf(str, LOG_STR_LEN, fmt, args); va_end(args); return(_alpm_log_action(handle->usesyslog, handle->logfd, str)); |