]> 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>
Thu, 24 Mar 2022 08:02:57 +0000 (09:02 +0100)
bacula/src/filed/job.c

index 5b7aaf428149510246390780316c830082da548d..10674c4dc61344d1c087e3a6f41d7942b3a697d9 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);