FYI!

> On Oct 25, 2018, at 4:38 AM, Marcin Cieslak <sa...@saper.info> wrote:
> 
> The following patch seems to fix the signed ioctl value warnings
> in uhsoctl().
> 
> The code is the same in the current and stable branches.
> 
> Marcin
> 
> Index: usr.sbin/uhsoctl/uhsoctl.c
> ===================================================================
> --- usr.sbin/uhsoctl/uhsoctl.c        (revision 339406)
> +++ usr.sbin/uhsoctl/uhsoctl.c        (working copy)
> @@ -360,7 +360,7 @@
> 
> /* 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;

Attachment: signature.asc
Description: Message signed with OpenPGP



Reply via email to