diff options
author | Dominik Hassler <hadfl@omnios.org> | 2022-11-12 13:14:23 +0000 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2022-11-13 13:12:37 +1100 |
commit | 5bf5e6eeca8e1988dd14cee9ea66ec74e67f0d2a (patch) | |
tree | c884cd4fd5cf23c99a8185607894b2ac451db566 /mysys/my_gethwaddr.c | |
parent | 7ee612c912eb3b9ebf8ce3ec8b2157144cfe804b (diff) | |
download | mariadb-git-5bf5e6eeca8e1988dd14cee9ea66ec74e67f0d2a.tar.gz |
OS detection logic in my_gethwaddr.c is backwards
Diffstat (limited to 'mysys/my_gethwaddr.c')
-rw-r--r-- | mysys/my_gethwaddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_gethwaddr.c b/mysys/my_gethwaddr.c index 24054aa4151..1f344af88fd 100644 --- a/mysys/my_gethwaddr.c +++ b/mysys/my_gethwaddr.c @@ -116,7 +116,7 @@ my_bool my_gethwaddr(uchar *to) uint i; for (i= 0; res && i < ifc.ifc_len / sizeof(ifr[0]); i++) { -#if !defined(_AIX) || !defined(__linux__) +#if defined(_AIX) || defined(__linux__) #if defined(__linux__) #define HWADDR_DATA ifr[i].ifr_hwaddr.sa_data #else |