diff options
author | 2013-03-22 21:22:05 +0000 | |
---|---|---|
committer | 2013-03-22 21:22:05 +0000 | |
commit | ec65d0ccfbc48064f4333eed4d0c4f983ead7d75 (patch) | |
tree | d3eea045fce1c5084cd264c9f3eda16e3d44e9c4 | |
parent | Couple of fixes pointed out by jmc. (diff) | |
download | wireguard-openbsd-ec65d0ccfbc48064f4333eed4d0c4f983ead7d75.tar.xz wireguard-openbsd-ec65d0ccfbc48064f4333eed4d0c4f983ead7d75.zip |
NBPG is spelled PAGE_SIZE
-rw-r--r-- | sys/sys/ioccom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/ioccom.h b/sys/sys/ioccom.h index 66f67c37fdc..936fc13f991 100644 --- a/sys/sys/ioccom.h +++ b/sys/sys/ioccom.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ioccom.h,v 1.4 2006/05/18 21:27:25 miod Exp $ */ +/* $OpenBSD: ioccom.h,v 1.5 2013/03/22 21:22:05 deraadt Exp $ */ /* $NetBSD: ioccom.h,v 1.4 1994/10/30 21:49:56 cgd Exp $ */ /*- @@ -45,7 +45,7 @@ #define IOCBASECMD(x) ((x) & ~(IOCPARM_MASK << 16)) #define IOCGROUP(x) (((x) >> 8) & 0xff) -#define IOCPARM_MAX NBPG /* max size of ioctl args, mult. of NBPG */ +#define IOCPARM_MAX PAGE_SIZE /* max size of ioctl args */ /* no parameters */ #define IOC_VOID (unsigned long)0x20000000 /* copy parameters out */ |