From b57c9c19016499ed2156be3dc10c07984732aabd Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 11 Jul 2010 15:16:18 +0200 Subject: [PATCH] Fix bad copy/paste in commit c88dccb88 prably a seg fault --- bacula/src/lib/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/lib/message.c b/bacula/src/lib/message.c index ff4c076030..ac4b77d090 100644 --- a/bacula/src/lib/message.c +++ b/bacula/src/lib/message.c @@ -1219,7 +1219,7 @@ Jmsg(JCR *jcr, int type, utime_t mtime, const char *fmt,...) /* The watchdog thread can't use Jmsg directly, we always queued it */ if (is_watchdog()) { va_start(arg_ptr, fmt); - bvsnprintf(rbuf+len, sizeof(rbuf)-len, fmt, arg_ptr); + bvsnprintf(rbuf, sizeof(rbuf), fmt, arg_ptr); va_end(arg_ptr); Qmsg(jcr, type, mtime, "%s", rbuf); return; -- 2.39.5