summary refs log tree commit diff
path: root/src/ppp-manager/nm-pppd-plugin.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-03-30 00:56:30 +0200
committerMichael Biebl <biebl@debian.org>2016-03-30 00:56:30 +0200
commitd9c99a29a0d3384c9c3d2adce430f5cb1134ab6a (patch)
treefa41baf72753961e71dd8d5bdbe2b89c9109e4f1 /src/ppp-manager/nm-pppd-plugin.c
parentc2de0d98ba39e0a1a970d066fd19be786092f376 (diff)
Imported Upstream version 1.1.92 upstream/1.1.92
Diffstat (limited to 'src/ppp-manager/nm-pppd-plugin.c')
-rw-r--r--src/ppp-manager/nm-pppd-plugin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ppp-manager/nm-pppd-plugin.c b/src/ppp-manager/nm-pppd-plugin.c
index be4dd185..4c16f1f0 100644
--- a/src/ppp-manager/nm-pppd-plugin.c
+++ b/src/ppp-manager/nm-pppd-plugin.c
@@ -302,10 +302,9 @@ get_credentials (char *username, char *password)
 	                              G_DBUS_CALL_FLAGS_NONE, -1,
 	                              NULL, &err);
 	if (!ret) {
-		g_warning ("nm-ppp-plugin: (%s): could not get secrets: (%d) %s",
+		g_warning ("nm-ppp-plugin: (%s): could not get secrets: %s",
 		           __func__,
-		           err ? err->code : -1,
-		           err->message ? err->message : "(unknown)");
+		           err->message);
 		g_error_free (err);
 		return -1;
 	}