summaryrefslogtreecommitdiff
path: root/cli/src/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/devices.c')
-rw-r--r--cli/src/devices.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/devices.c b/cli/src/devices.c
index b531150699..5bc9ba352e 100644
--- a/cli/src/devices.c
+++ b/cli/src/devices.c
@@ -1860,8 +1860,8 @@ add_and_activate_cb (NMClient *client,
NMActiveConnectionState state;
if (error) {
- g_string_printf (nmc->return_text, _("Error: Failed to add/activate new connection: (%d) %s"),
- error->code, error->message);
+ g_string_printf (nmc->return_text, _("Error: Failed to add/activate new connection: %s"),
+ error->message);
nmc->return_value = NMC_RESULT_ERROR_CON_ACTIVATION;
quit ();
} else {