diff options
author | Denys Vlasenko | 2009-09-16 00:58:11 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-09-16 00:58:11 +0200 |
commit | 8dc0e1929e3af3b1673e5a8e486808386400c020 (patch) | |
tree | 0550684999338af8f15de76c5599f9dead3fdfd6 /util-linux/volume_id/sysv.c | |
parent | f2c184be835fbcbd04d06fce22783c6a5d37b563 (diff) | |
download | busybox-8dc0e1929e3af3b1673e5a8e486808386400c020.zip busybox-8dc0e1929e3af3b1673e5a8e486808386400c020.tar.gz |
use PACKED macro insted of open-coding GCC-ism
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/sysv.c')
-rw-r--r-- | util-linux/volume_id/sysv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/volume_id/sysv.c b/util-linux/volume_id/sysv.c index 7a99cd6..0e65072 100644 --- a/util-linux/volume_id/sysv.c +++ b/util-linux/volume_id/sysv.c @@ -48,7 +48,7 @@ struct sysv_super { uint32_t s_state; uint32_t s_magic; uint32_t s_type; -} __attribute__((__packed__)); +} PACKED; #define XENIX_NICINOD 100 #define XENIX_NICFREE 100 @@ -74,7 +74,7 @@ struct xenix_super { uint8_t s_fill[371]; uint32_t s_magic; uint32_t s_type; -} __attribute__((__packed__)); +} PACKED; #define SYSV_SUPERBLOCK_BLOCK 0x01 #define SYSV_MAGIC 0xfd187e20 |