Fix for Coverity CID 356469

Fix for CID 356469 - truncated time_t value.

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
This commit is contained in:
Krzysztof Majzerowicz-Jaszcz 2022-08-31 15:35:45 +02:00
parent 88dff6ead3
commit fbe530fae1

View File

@ -1,5 +1,5 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* Copyright(c) 2012-2022 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -16,7 +16,7 @@ struct progress_status {
int progress_accumulated; /*!< this is to ensure that progressbar is always
*!< from 0 to 100% and progress indicated by it
*!< never actually drops. */
int time_started; /*!< time when particular long running
time_t time_started; /*!< time when particular long running
*!< operation was started */
char *friendly_name; /*!< name of management operation that shall
*!< be displayed in command prompt */