2008-08-14 Dan Williams <dcbw@redhat.com>
* src/nm-netlink-monitor.c src/nm-netlink-monitor.h src/nm-device-ethernet.c - (nm_netlink_monitor_request_status): return an error on failure - (constructor): don't segfault on missing error git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3958 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user