Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mfr-utils/sys_mfr_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void displayHelp() {
printf("Usage : mfr_util [CMD] \n");
printf("CMDs are \n" );
printf("%5s -> %s \n","--help", "print this help.");
printf("%5s -> %s \n","--CurrentImageFilename", "Get current running imagename ");
printf("%5s -> %s \n", "Get current running imagename ");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverity Issue - Printf arg count mismatch

the format string requires additional arguments

Medium Impact, CWE-685
PW.TOO_FEW_PRINTF_ARGS

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverity Issue - Missing argument to printf format specifier

No argument for format specifier "%s".

Medium Impact, CWE-685
PRINTF_ARGS

printf("%5s -> %s \n","--FlashedFilename", "Get current flashed imagename ");
printf("%5s -> %s \n","--Modelname", "Get Model name");
printf("%5s -> %s \n","--HardwareId", "Get Hardware ID");
Expand Down