diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-24 23:44:01 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-24 23:44:01 +0000 |
commit | ba3170cb32e355cb1dab8bd0ee0917c0d922c8d2 (patch) | |
tree | 2b486500ce0e5a5b3b9390d311a78f2fd8b963a2 /sys/net/pf.c | |
parent | 068ad287dc3f58ef1a615ed36d248072081330c8 (diff) |
rename ioctlbuffer to pfioc.
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index c71792a665b..60e26c9b3a5 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.13 2001/06/24 23:29:14 dhartmei Exp $ */ +/* $OpenBSD: pf.c,v 1.14 2001/06/24 23:43:59 art Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -508,7 +508,7 @@ int pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) { int error = 0; - struct ioctlbuffer *ub; + struct pfioc *ub; void *kb = NULL; int s; @@ -516,7 +516,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) return EACCES; if ((cmd != DIOCSTART) && (cmd != DIOCSTOP) && (cmd != DIOCCLRSTATES)) { - ub = (struct ioctlbuffer *)addr; + ub = (struct pfioc *)addr; if (ub == NULL) return ERROR_INVALID_PARAMETERS; kb = malloc(ub->size, M_DEVBUF, M_NOWAIT); |