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-5.0.3~91 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b5ffb0c399e2a8c25555c9013ca86a31590895f4;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),