Date: Fri, 9 Nov 2018 08:47:54 +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-10@freebsd.org Subject: svn commit: r340281 - stable/10/usr.sbin/uhsoctl Message-ID: <201811090847.wA98lsTT026536@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Fri Nov 9 08:47:54 2018 New Revision: 340281 URL: https://svnweb.freebsd.org/changeset/base/340281 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/10/usr.sbin/uhsoctl/uhsoctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sbin/uhsoctl/uhsoctl.c ============================================================================== --- stable/10/usr.sbin/uhsoctl/uhsoctl.c Fri Nov 9 08:45:47 2018 (r340280) +++ stable/10/usr.sbin/uhsoctl/uhsoctl.c Fri Nov 9 08:47:54 2018 (r340281) @@ -359,7 +359,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?201811090847.wA98lsTT026536>