diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-08-11 01:51:38 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-08-11 01:51:38 +0000 |
commit | b07232430cf6a08f659055d1573ea4b4bf9f746b (patch) | |
tree | 560da526bd3fac699025fb6866348dfdb46f83a2 /tests | |
parent | de78631dfc5ad851e1352a3820d1276e4f0178c2 (diff) | |
download | FreeBSD-src-b07232430cf6a08f659055d1573ea4b4bf9f746b.zip FreeBSD-src-b07232430cf6a08f659055d1573ea4b4bf9f746b.tar.gz |
Merge r285891:
Pass unsigned long argument to ioctl().
Eliminates "ioctl sign-extension" warnings.
PR: 200896
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sys/fifo/fifo_misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sys/fifo/fifo_misc.c b/tests/sys/fifo/fifo_misc.c index 888547e..2c834b1 100644 --- a/tests/sys/fifo/fifo_misc.c +++ b/tests/sys/fifo/fifo_misc.c @@ -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; |