From: Eric Bollengier Date: Wed, 25 Nov 2020 10:29:28 +0000 (+0100) Subject: Fix 32/64bit issue with setdebug command X-Git-Tag: Release-11.0.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf6d1884a3864f827620949facbe5a46899e3c83;p=thirdparty%2Fbacula.git Fix 32/64bit issue with setdebug command --- diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index 62782d8d8..6a20ebd00 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -199,7 +199,7 @@ static char OKsession[] = "2000 OK session\n"; static char OKstore[] = "2000 OK storage\n"; static char OKstoreend[] = "2000 OK storage end\n"; static char OKjob[] = "2000 OK Job %s (%s) %s,%s,%s"; -static char OKsetdebug[] = "2000 OK setdebug=%lld trace=%d hangup=%d" +static char OKsetdebug[] = "2000 OK setdebug=%ld trace=%d hangup=%d" " blowup=%d options=%s tags=%s\n"; static char BADjob[] = "2901 Bad Job\n"; static char EndJob[] = "2800 End Job TermCode=%d JobFiles=%d ReadBytes=%lld" @@ -1068,7 +1068,7 @@ static int setdebug_cmd(JCR *jcr) /* handle other options */ set_debug_flags(options); - Dmsg6(150, "level=%lld trace=%d hangup=%d blowup=%d options=%s tags=%s\n", + Dmsg6(150, "level=%ld trace=%d hangup=%d blowup=%d options=%s tags=%s\n", lvl, get_trace(), get_hangup(), get_blowup(), options, tags); return dir->fsend(OKsetdebug, lvl, get_trace(), get_hangup(), get_blowup(), options, tags);