diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 26ea06bda9..f2dbe6594d 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -5486,7 +5486,7 @@ nm_device_generate_connection (NMDevice *self, klass->update_connection (self, connection); - if (!nm_connection_normalize (connection, NULL, NULL, error)) { + if (!nm_connection_normalize (connection, NULL, NULL, &local)) { g_set_error (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_FAILED, "generated connection does not verify: %s", local->message);