Date: Fri, 9 Nov 2018 08:45:47 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r340280 - stable/11/usr.sbin/uhsoctl Message-ID: <201811090845.wA98jlT8026399@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Fri Nov 9 08:45:47 2018 New Revision: 340280 URL: https://svnweb.freebsd.org/changeset/base/340280 Log: MFC r340089: Use correct type for IOCTL request argument. This fixes signed IOCTL value warnings in uhsoctl(). Submitted by: Marcin Cieslak <saper@saper.info> Sponsored by: Mellanox Technologies Modified: stable/11/usr.sbin/uhsoctl/uhsoctl.c Directory Properties: stable/11/ (props changed) Modified: stable/11/usr.sbin/uhsoctl/uhsoctl.c ============================================================================== --- stable/11/usr.sbin/uhsoctl/uhsoctl.c Fri Nov 9 08:43:40 2018 (r340279) +++ stable/11/usr.sbin/uhsoctl/uhsoctl.c Fri Nov 9 08:45:47 2018 (r340280) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811090845.wA98jlT8026399>