]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/util.c
More changes to ensure that during thread switches the jcr
[bacula/bacula] / bacula / src / lib / util.c
index 86d076033885a99769a96af0caeb5bc202ffe008..1d93d1b542be1beae8ddafe56de75bff6cfd6fbf 100644 (file)
@@ -134,10 +134,11 @@ unbash_spaces(POOL_MEM &pm)
    }
 }
 
-char *encode_time(time_t time, char *buf)
+char *encode_time(utime_t utime, char *buf)
 {
    struct tm tm;
    int n = 0;
+   time_t time = utime;
 
 #if defined(HAVE_WIN32)
    /*
@@ -413,6 +414,9 @@ const char *job_level_to_str(int level)
    case L_VERIFY_DATA:
       str = _("Verify Data");
       break;
+   case L_VIRTUAL_FULL:
+      str = _("Virtual Full");
+      break;
    case L_NONE:
       str = " ";
       break;