]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix 32/64bit issue with setdebug command
authorEric Bollengier <eric@baculasystems.com>
Wed, 25 Nov 2020 10:29:28 +0000 (11:29 +0100)
committerEric Bollengier <eric@baculasystems.com>
Sat, 12 Dec 2020 15:35:44 +0000 (16:35 +0100)
bacula/src/filed/job.c

index 62782d8d87b69b1071b1aa83848507374ec7859a..6a20ebd0071147d5e44f160172d91b4162fb437c 100644 (file)
@@ -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);