mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 04:48:10 +02:00
cli: fix "format not a string literal and no format arguments" cc error
The string could contain printf format sequences.
This commit is contained in:
parent
83dc4032b7
commit
5f6b68862e
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ nmc_is_nm_running (NmCli *nmc, GError **error)
|
|||
g_string_printf (nmc->return_text, _("Error: Couldn't create D-Bus object proxy for org.freedesktop.DBus"));
|
||||
nmc->return_value = NMC_RESULT_ERROR_UNKNOWN;
|
||||
if (error)
|
||||
g_set_error (error, 0, 0, nmc->return_text->str);
|
||||
g_set_error (error, 0, 0, "%s", nmc->return_text->str);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue