From 606291beabab14c85a141c7a4225fbcab8d19fbd Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 23 Sep 2009 23:15:43 +0200 Subject: *: more portability fixes by Dan Fandrich Signed-off-by: Denys Vlasenko --- util-linux/volume_id/romfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/volume_id') diff --git a/util-linux/volume_id/romfs.c b/util-linux/volume_id/romfs.c index 4ed1319..f5005cd 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*/) -- cgit v1.1