From b5ffb0c399e2a8c25555c9013ca86a31590895f4 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 10 Jul 2010 14:22:31 +0200 Subject: [PATCH] Add bigger print buffer for sm_dump --- bacula/src/lib/smartall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.39.5