modem-manager: Do not print (null)

PVS: Incorrect format. A null pointer is used.
This commit is contained in:
Richard Hughes 2022-09-09 10:15:25 +01:00
parent ab5683deb0
commit 908c1d8c02

View File

@ -598,9 +598,7 @@ fu_firehose_updater_actions_validate(GPtrArray *action_nodes,
g_set_error(error, g_set_error(error,
G_IO_ERROR, G_IO_ERROR,
G_IO_ERROR_FAILED, G_IO_ERROR_FAILED,
"Failed to validate program file '%s' command: " "Failed to validate program file: failed to get %s",
"failed to get %s",
program_filename,
name); name);
return FALSE; return FALSE;
} }
@ -610,9 +608,7 @@ fu_firehose_updater_actions_validate(GPtrArray *action_nodes,
g_set_error(error, g_set_error(error,
G_IO_ERROR, G_IO_ERROR,
G_IO_ERROR_FAILED, G_IO_ERROR_FAILED,
"Failed to validate program file '%s' command: " "Failed to validate program file: failed to get %s",
"failed to get %s",
program_filename,
name); name);
return FALSE; return FALSE;
} }