wifi: fix log message
authorDan Williams <dcbw@redhat.com>
Thu, 8 Apr 2010 22:51:32 +0000 (15:51 -0700)
committerDan Williams <dcbw@redhat.com>
Thu, 8 Apr 2010 22:51:32 +0000 (15:51 -0700)
src/nm-device-wifi.c

index 3e7a820..cccaf11 100644 (file)
@@ -3517,7 +3517,8 @@ real_set_enabled (NMDeviceInterface *device, gboolean enabled)
 
        state = nm_device_interface_get_state (NM_DEVICE_INTERFACE (self));
        if (state < NM_DEVICE_STATE_UNAVAILABLE) {
-               nm_log_dbg (LOGD_WIFI, "(%s): enable blocked by UNMANAGED state",
+               nm_log_dbg (LOGD_WIFI, "(%s): %s blocked by UNMANAGED state",
+                           enabled ? "enable" : "disable",
                            nm_device_get_iface (NM_DEVICE (device)));
                return;
        }