summaryrefslogtreecommitdiff
path: root/src/nm-device-ethernet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-device-ethernet.c')
-rw-r--r--src/nm-device-ethernet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-device-ethernet.c b/src/nm-device-ethernet.c
index a07f9573c2..7db4063320 100644
--- a/src/nm-device-ethernet.c
+++ b/src/nm-device-ethernet.c
@@ -291,7 +291,7 @@ constructor (GType type,
dev);
if (!nm_netlink_monitor_request_status (monitor, &error)) {
- nm_warning ("couldn't request carrier state: %s", error->message);
+ nm_warning ("couldn't request carrier state: %s", error ? error->message : "unknown");
g_error_free (error);
}