mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user