aboutsummaryrefslogtreecommitdiff
path: root/util-linux/volume_id
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-23 23:15:43 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-23 23:15:43 +0200
commit606291beabab14c85a141c7a4225fbcab8d19fbd (patch)
tree4f46cd21214432feeb610e237e8dd49ef908c8f6 /util-linux/volume_id
parent1f27ab0d4bb65425496ff4ed0fbbd0f5bb32786f (diff)
downloadbusybox-606291beabab14c85a141c7a4225fbcab8d19fbd.tar.gz
*: more portability fixes by Dan Fandrich
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id')
-rw-r--r--util-linux/volume_id/romfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/volume_id/romfs.c b/util-linux/volume_id/romfs.c
index 4ed13191e..f5005cd50 100644
--- a/util-linux/volume_id/romfs.c
+++ b/util-linux/volume_id/romfs.c
@@ -24,7 +24,7 @@ struct romfs_super {
uint8_t magic[8];
uint32_t size;
uint32_t checksum;
- uint8_t name[0];
+ uint8_t name[];
} PACKED;
int volume_id_probe_romfs(struct volume_id *id /*,uint64_t off*/)