From 27b48b6398f1a2d056bc3ffcc60f75c96fa99689 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 1 Jun 2010 14:42:59 +0200 Subject: [PATCH] Fix typo in message.c --- 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 def39b8d85..cc66d7a652 100644 --- a/bacula/src/lib/message.c +++ b/bacula/src/lib/message.c @@ -1221,7 +1221,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