summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravsm <avsm@openbsd.org>2003-11-16 21:06:14 +0000
committeravsm <avsm@openbsd.org>2003-11-16 21:06:14 +0000
commitda00884f6e2a2fcd9afc45b5266b0cae18561968 (patch)
tree3e7a3ea3f717937bba0c73f2149691f399a275f8
parentconvert __attribute__((__packed__)) to __packed so that parsers unaware (diff)
downloadwireguard-openbsd-da00884f6e2a2fcd9afc45b5266b0cae18561968.tar.xz
wireguard-openbsd-da00884f6e2a2fcd9afc45b5266b0cae18561968.zip
__attribute__((__packed__)) -> __packed
-rw-r--r--sbin/iopctl/iopctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iopctl/iopctl.c b/sbin/iopctl/iopctl.c
index de43a4c7f14..bf955eb70a2 100644
--- a/sbin/iopctl/iopctl.c
+++ b/sbin/iopctl/iopctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iopctl.c,v 1.4 2003/07/29 18:38:36 deraadt Exp $ */
+/* $OpenBSD: iopctl.c,v 1.5 2003/11/16 21:06:14 avsm Exp $ */
/* $NetBSD: iopctl.c,v 1.8 2001/03/20 13:07:51 ad Exp $ */
/*-
@@ -338,7 +338,7 @@ showddmid(char **argv)
struct i2o_param_read_results prr;
struct i2o_param_ddm_identity di;
char padding[128];
- } __attribute__ ((__packed__)) p;
+ } __packed p;
char ident[128];
getparam(atoi(argv[0]), I2O_PARAM_DDM_IDENTITY, &p, sizeof(p));