diff options
author | jhb <jhb@FreeBSD.org> | 2009-03-10 21:28:43 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-03-10 21:28:43 +0000 |
commit | 50289fd1c1ed015d3451ec8e6956fdee7141e3ea (patch) | |
tree | 4a06c8d38dd969f6196f185753061d262cd2b958 /sys/sys/pipe.h | |
parent | c8dd604fc285becb2d24a1dde02258f37a6844ff (diff) | |
download | FreeBSD-src-50289fd1c1ed015d3451ec8e6956fdee7141e3ea.zip FreeBSD-src-50289fd1c1ed015d3451ec8e6956fdee7141e3ea.tar.gz |
- Make maxpipekva a signed long rather than an unsigned long as overflow
is more likely to be noticed with signed types.
- Make amountpipekva a long as well to match maxpipekva.
Discussed with: bde
Diffstat (limited to 'sys/sys/pipe.h')
-rw-r--r-- | sys/sys/pipe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/pipe.h b/sys/sys/pipe.h index 86c884a..2592a8d 100644 --- a/sys/sys/pipe.h +++ b/sys/sys/pipe.h @@ -56,7 +56,7 @@ /* * See sys_pipe.c for info on what these limits mean. */ -extern u_long maxpipekva; +extern long maxpipekva; /* * Pipe buffer information. |