aboutsummaryrefslogtreecommitdiffstats
path: root/dmi.h
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-11 22:50:19 -0700
committerAndi Kleen <ak@linux.intel.com>2024-05-16 08:35:54 -0700
commitc17897deb52daab300c585a6a6c2456d062d80cf (patch)
tree152c68498ed4dc291bc6d27d531f6133c27714ac /dmi.h
parent23c24878c2e004f360575d564b825753212a09e5 (diff)
downloadmcelog-master.tar.gz
server: Correct prameter type for connect() APIHEADv199master
connect() function expects the second argument to be point to sockaddr as per man sockaddr int connect (int, const struct sockaddr *, socklen_t); Fixes build failures with -Wincompatible-pointer-types when using GCC-14 and musl Fixes | server.c: In function 'server_ping': | server.c:308:33: error: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types] | 308 | if (connect(fd, un, sizeof(struct sockaddr_un)) < 0) | | ^~ | | | | | struct sockaddr_un * Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'dmi.h')
0 files changed, 0 insertions, 0 deletions