rpminspect trips up on some old networking functions in libgtop, which are mentioned as deprecated in the Linux man pages. inet_ntoa() only works on IPv4 addresses, whereas the newer inet_ntop() works on both IPv4 and IPv6 addresses, so use inet_ntop() instead. Similarly, use getaddrinfo() rather than gethostbyname(), and avoid inet_addr() entirely. https://bugzilla.redhat.com/show_bug.cgi?id=2050712
The files fsusage.c and fsusage.h have been stolen from the GNU Coreutils package (version 5.0) and are the actual implementation of the fsusage function. The only changes that have been made to these files is that some code for SVR2 has been ripped out since it depended on some more code (SVR3 was released in 1986 and introduced shared libraries), and the functions have been prefixed with glibtop_private to avoid name clashes with user code.