]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:eventlog: Fix print statement CID#1509023
authorVinit Agnihotri <vagnihot@redhat.com>
Thu, 21 Aug 2025 08:47:50 +0000 (14:17 +0530)
committerVolker Lendecke <vl@samba.org>
Tue, 26 Aug 2025 14:40:33 +0000 (14:40 +0000)
Signed-off-by: Vinit Agnihotri <vagnihot@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/lib/eventlog/eventlog.c

index 031c7497b71d6e256fe528adfcdae83ab345395f..0edfb9861de18b97230e6291714c881d288c89f9 100644 (file)
@@ -193,8 +193,8 @@ static bool make_way_for_eventlogs( TDB_CONTEXT * the_tdb, int32_t needed,
        nbytes = 0;
 
        DEBUG( 3,
-              ( "MaxSize [%d] Retention [%d] Current Time [%u]  exp_time [%u]\n",
-                MaxSize, Retention, (unsigned int)current_time, (unsigned int)exp_time ) );
+              ( "MaxSize [%d] Retention [%d] Current Time [%ju]  exp_time [%ju]\n",
+                MaxSize, Retention, (uintmax_t)current_time, (uintmax_t)exp_time ) );
        DEBUG( 3,
               ( "Start Record [%u] End Record [%u]\n",
                (unsigned int)start_record,