From: Kern Sibbald Date: Sat, 10 Jul 2010 12:22:31 +0000 (+0200) Subject: Add bigger print buffer for sm_dump X-Git-Tag: Release-7.0.0~1686 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ea9641fb0fab817d42cf1b42da566db6e9f47bf;p=bacula%2Fbacula Add bigger print buffer for sm_dump --- diff --git a/bacula/src/lib/smartall.c b/bacula/src/lib/smartall.c index 324d4eeecd..3321af7aea 100644 --- a/bacula/src/lib/smartall.c +++ b/bacula/src/lib/smartall.c @@ -396,7 +396,7 @@ void sm_dump(bool bufdump, bool in_use) if (ap->abfname != NULL) { unsigned memsize = ap->ablen - (HEAD_SIZE + 1); - char errmsg[500]; + char errmsg[1000]; char *cp = ((char *)ap) + HEAD_SIZE; bsnprintf(errmsg, sizeof(errmsg),