]> 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)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:57 +0000 (16:53 +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),