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:
parent
74ead70f1c
commit
cfde210bf3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user