Date: Tue, 11 Aug 2015 01:51:38 +0000 (UTC) From: Craig Rodrigues <rodrigc@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: r286612 - stable/10/tests/sys/fifo Message-ID: <201508110151.t7B1pcG0059486@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigc Date: Tue Aug 11 01:51:38 2015 New Revision: 286612 URL: https://svnweb.freebsd.org/changeset/base/286612 Log: Merge r285891: Pass unsigned long argument to ioctl(). Eliminates "ioctl sign-extension" warnings. PR: 200896 Modified: stable/10/tests/sys/fifo/fifo_misc.c Directory Properties: stable/10/ (props changed) Modified: stable/10/tests/sys/fifo/fifo_misc.c ============================================================================== --- stable/10/tests/sys/fifo/fifo_misc.c Tue Aug 11 01:45:17 2015 (r286611) +++ stable/10/tests/sys/fifo/fifo_misc.c Tue Aug 11 01:51:38 2015 (r286612) @@ -30,6 +30,7 @@ #include <sys/types.h> #include <sys/event.h> #include <sys/filio.h> +#include <sys/ioctl.h> #include <sys/stat.h> #include <sys/time.h> @@ -149,7 +150,7 @@ test_truncate(void) } static int -test_ioctl_setclearflag(int fd, int flag, const char *testname, +test_ioctl_setclearflag(int fd, unsigned long flag, const char *testname, const char *fdname, const char *flagname) { int i;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508110151.t7B1pcG0059486>