From b6ae0d862839eafee0139da731fef64e6c2279c1 Mon Sep 17 00:00:00 2001 From: Bill O'Donnell Date: Fri, 14 Jun 2024 11:00:16 -0500 Subject: [PATCH] xfs_repair: correct type of variable global_msgs.interval to time_t Use time_t instead of int for interval field. Coverity-id: 1596599 Signed-off-by: Bill O'Donnell Reviewed-by: Christoph Hellwig Reviewed-by: Darrick J. Wong --- repair/progress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repair/progress.c b/repair/progress.c index 084afa63c..07cf4e4f2 100644 --- a/repair/progress.c +++ b/repair/progress.c @@ -91,7 +91,7 @@ typedef struct msg_block_s { uint64_t *done; uint64_t *total; int count; - int interval; + time_t interval; } msg_block_t; static msg_block_t global_msgs; -- 2.39.5