diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-16 00:58:11 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-16 00:58:11 +0200 |
commit | 8dc0e1929e3af3b1673e5a8e486808386400c020 (patch) | |
tree | 0550684999338af8f15de76c5599f9dead3fdfd6 /util-linux/volume_id/romfs.c | |
parent | f2c184be835fbcbd04d06fce22783c6a5d37b563 (diff) | |
download | busybox-w32-8dc0e1929e3af3b1673e5a8e486808386400c020.tar.gz busybox-w32-8dc0e1929e3af3b1673e5a8e486808386400c020.tar.bz2 busybox-w32-8dc0e1929e3af3b1673e5a8e486808386400c020.zip |
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/romfs.c')
-rw-r--r-- | util-linux/volume_id/romfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/volume_id/romfs.c b/util-linux/volume_id/romfs.c index 2c061bdfc..4ed13191e 100644 --- a/util-linux/volume_id/romfs.c +++ b/util-linux/volume_id/romfs.c | |||
@@ -25,7 +25,7 @@ struct romfs_super { | |||
25 | uint32_t size; | 25 | uint32_t size; |
26 | uint32_t checksum; | 26 | uint32_t checksum; |
27 | uint8_t name[0]; | 27 | uint8_t name[0]; |
28 | } __attribute__((__packed__)); | 28 | } PACKED; |
29 | 29 | ||
30 | int volume_id_probe_romfs(struct volume_id *id /*,uint64_t off*/) | 30 | int volume_id_probe_romfs(struct volume_id *id /*,uint64_t off*/) |
31 | { | 31 | { |