Use correct type for IOCTL request argument.

This fixes signed IOCTL value warnings in uhsoctl().

MFC after:		1 week
Submitted by:		Marcin Cieslak <saper@saper.info>
Sponsored by:		Mellanox Technologies
This commit is contained in:
hselasky 2018-11-02 22:23:25 +00:00
parent 74ead70f1c
commit cfde210bf3

View File

@ -360,7 +360,7 @@ logger(int pri, const char *fmt, ...)
/* Add/remove IP address from an interface */
static int
ifaddr_ad(int d, const char *ifnam, struct sockaddr *sa, struct sockaddr *mask)
ifaddr_ad(unsigned long d, const char *ifnam, struct sockaddr *sa, struct sockaddr *mask)
{
struct ifaliasreq req;
int fd, error;