summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/iopctl/iopctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/iopctl/iopctl.c b/sbin/iopctl/iopctl.c
index 7ce3b47623e..b775a715dc0 100644
--- a/sbin/iopctl/iopctl.c
+++ b/sbin/iopctl/iopctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iopctl.c,v 1.7 2004/08/20 19:48:53 mickey Exp $ */
+/* $OpenBSD: iopctl.c,v 1.8 2007/10/08 08:19:40 gilles Exp $ */
/* $NetBSD: iopctl.c,v 1.12 2002/01/04 10:17:20 ad Exp $ */
/*-
@@ -202,7 +202,7 @@ getparam(int tid, int group, void *pbuf, int pbufsize)
struct {
struct i2o_param_op_list_header olh;
struct i2o_param_op_all_template oat;
- } __attribute__ ((__packed__)) req;
+ } __packed req;
mb.msgflags = I2O_MSGFLAGS(i2o_util_params_op);
mb.msgfunc = I2O_MSGFUNC(tid, I2O_UTIL_PARAMS_GET);
@@ -363,7 +363,7 @@ showdevid(char **argv)
struct i2o_param_read_results prr;
struct i2o_param_device_identity di;
char padding[128];
- } __attribute__ ((__packed__)) p;
+ } __packed p;
char ident[128];
getparam(gettid(argv), I2O_PARAM_DEVICE_IDENTITY, &p, sizeof(p));