]> git.sur5r.net Git - bacula/bacula/commitdiff
Add bigger print buffer for sm_dump
authorKern Sibbald <kern@sibbald.com>
Sat, 10 Jul 2010 12:22:31 +0000 (14:22 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 11 Jul 2010 10:59:11 +0000 (12:59 +0200)
bacula/src/lib/smartall.c

index 324d4eeecdc278677fd41077c4d0aa2c82c03e59..3321af7aea71ea3a1679f51aee4c7334482dfc7c 100644 (file)
@@ -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),