svn commit: r286612 - stable/10/tests/sys/fifo
Craig Rodrigues
rodrigc at FreeBSD.org
Tue Aug 11 01:51:39 UTC 2015
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;
More information about the svn-src-all
mailing list