From c1c3d7e145ab2ea65c5474817bcb20b58f434ecb Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 3 Apr 2015 08:28:53 -0400 Subject: [PATCH] device: translate NM_DEVICE_STATE_REASON_UNKNOWN to "unknown" --- src/devices/nm-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 1083274df8..5b3c7dbc74 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -388,6 +388,7 @@ state_to_string (NMDeviceState state) } static const char *reason_table[] = { + [NM_DEVICE_STATE_REASON_UNKNOWN] = "unknown", [NM_DEVICE_STATE_REASON_NONE] = "none", [NM_DEVICE_STATE_REASON_NOW_MANAGED] = "managed", [NM_DEVICE_STATE_REASON_NOW_UNMANAGED] = "unmanaged",