diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2007-10-08 08:19:41 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2007-10-08 08:19:41 +0000 |
commit | 8a6bd49c209c89765fb2e6049d9dcc4c4410cbae (patch) | |
tree | 907ad3a55097a00d70536c26ef8d92b2607dd159 /sbin/iopctl | |
parent | 660212d2cbb7d89da43ea174a73594b55cfac09d (diff) |
attribute packed -> __packed
OK millert
Diffstat (limited to 'sbin/iopctl')
-rw-r--r-- | sbin/iopctl/iopctl.c | 6 |
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)); |