From: Bill O'Donnell Date: Fri, 14 Jun 2024 16:00:16 +0000 (-0500) Subject: xfs_repair: correct type of variable global_msgs.interval to time_t X-Git-Tag: v6.9.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6ae0d862839eafee0139da731fef64e6c2279c1;p=thirdparty%2Fxfsprogs-dev.git 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 --- diff --git a/repair/progress.c b/repair/progress.c index 084afa63..07cf4e4f 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;