]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/job.c
Add comment to crypto.h
[bacula/bacula] / bacula / src / filed / job.c
index 10eb7fb32e3aadc056429e799282be9b32e8bb9d..6d6a685e62527534c459a8b125280ac285fd6d4d 100644 (file)
@@ -1212,7 +1212,13 @@ static int level_cmd(JCR *jcr)
       adj = btime_to_utime(bt_adj);
       since_time += adj;              /* adjust for clock difference */
       if (adj != 0) {
-         Jmsg(jcr, M_INFO, 0, _("DIR and FD clocks differ by %d seconds, FD automatically adjusting.\n"), adj);
+         int type;
+         if (adj > 600 || adj < -600) {
+            type = M_WARNING;
+         } else {
+            type = M_INFO;
+         }
+         Jmsg(jcr, type, 0, _("DIR and FD clocks differ by %d seconds, FD automatically adjusting.\n"), adj);
       }
       bnet_sig(dir, BNET_EOD);