mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00: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: 879bcee08ce0f91f556fddfe452c3fbed5318468 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…
x
Reference in New Issue
Block a user