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