mirror of https://gitee.com/openkylin/libvirt.git
util: Fix error reporting in virnetlink
The preprocessor macro we use to check whether we're on Linux
has not been spelled properly, and so we will always report the
error message intended for other platforms.
Fixes: 879bcee08c
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
568d7358ab
commit
9b2f6c1030
|
@ -1231,7 +1231,7 @@ virNetlinkEventRemoveClient(int watch, const virMacAddr *macaddr,
|
|||
|
||||
#else
|
||||
|
||||
# if defined(__linux)
|
||||
# if defined(__linux__)
|
||||
static const char *unsupported = N_("libnl was not available at build time");
|
||||
# else
|
||||
static const char *unsupported = N_("not supported on non-linux platforms");
|
||||
|
|
Loading…
Reference in New Issue