aboutsummaryrefslogtreecommitdiff
path: root/util-linux
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
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')
-rw-r--r--util-linux/minix.h2
-rw-r--r--util-linux/volume_id/romfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/minix.h b/util-linux/minix.h
index 3e2b989e3..e0fbcf761 100644
--- a/util-linux/minix.h
+++ b/util-linux/minix.h
@@ -48,7 +48,7 @@ struct minix_superblock {
struct minix_dir_entry {
uint16_t inode;
- char name[0];
+ char name[];
};
/* Believe it or not, but mount.h has this one #defined */
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*/)