diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2016-05-25 17:11:27 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-05-25 17:29:18 +0200 |
commit | 52819b7c94fa96ed184130e4e9a83f34ed91f607 (patch) | |
tree | ccf5bbd903365124b5b42f0eceec47c6a1c57aac | |
parent | 791cbd08179737bb4e1b7b2d7064b0f676f688ff (diff) | |
download | NetworkManager-52819b7c94fa96ed184130e4e9a83f34ed91f607.tar.gz |
device: fix NM_DEVICE_GET_PRIVATE() macro
Fixes: adbba0fb395b9910c4615e7be91ffe5b3ef70d6a
-rw-r--r-- | src/devices/nm-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 906810956f..dfbf3ebbc8 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -73,7 +73,7 @@ _LOG_DECLARE_SELF (NMDevice); G_DEFINE_ABSTRACT_TYPE (NMDevice, nm_device, NM_TYPE_EXPORTED_OBJECT) -#define NM_DEVICE_GET_PRIVATE(o) \ +#define NM_DEVICE_GET_PRIVATE(self) \ ({ \ /* preserve the const-ness of self. Unfortunately, that * way, @self cannot be a void pointer */ \ |