aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
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*/)