From: Eric Bollengier Date: Fri, 14 Jan 2022 16:43:20 +0000 (+0100) Subject: Fix compilation X-Git-Tag: Beta-15.0.0~680 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a93bddea434028bc48d6628c07d47304916392fa;p=thirdparty%2Fbacula.git Fix compilation --- diff --git a/bacula/src/stored/bscan.c b/bacula/src/stored/bscan.c index 525655bce..47f362731 100644 --- a/bacula/src/stored/bscan.c +++ b/bacula/src/stored/bscan.c @@ -1171,7 +1171,7 @@ static bool update_media_record(BDB *db, MEDIA_DBR *mr) /* Set last written to now, so that user has a month * (because of retention period set to 1month), to inspect recovered volume */ - mr->LastWritten = (utime_t)time(NUL); + mr->LastWritten = (utime_t)time(NULL); if (!db_update_media_record(bjcr, db, mr)) { Pmsg1(0, _("Could not update media record. ERR=%s\n"), db_strerror(db)); return false;;