summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-06-24 23:44:07 +0000
committerart <art@openbsd.org>2001-06-24 23:44:07 +0000
commit8cf4d08d14b89d8426f7c95edcfd63fddd43507d (patch)
tree9580b7f7571cee94adff0092bac4c848f8b5fa94
parentrename ioctlbuffer to pfioc. (diff)
downloadwireguard-openbsd-8cf4d08d14b89d8426f7c95edcfd63fddd43507d.tar.xz
wireguard-openbsd-8cf4d08d14b89d8426f7c95edcfd63fddd43507d.zip
ioctlbuffer renamed.
-rw-r--r--sbin/pfctl/pfctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index fd47b6287d5..bca77e75e5f 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.4 2001/06/24 23:20:57 provos Exp $ */
+/* $OpenBSD: pfctl.c,v 1.5 2001/06/24 23:44:07 art Exp $ */
/*
* Copyright (c) 2001, Daniel Hartmeier
@@ -130,9 +130,9 @@ int
main(int argc, char *argv[])
{
int dev;
- struct ioctlbuffer *ub;
+ struct pfioc *ub;
u_int16_t n = 0;
- ub = malloc(sizeof(struct ioctlbuffer));
+ ub = malloc(sizeof(struct pfioc));
if (ub == NULL) {
printf("ERROR: malloc() failed\n");
return (1);