aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-03-23 00:44:21 +0000
committerEric Biggers <ebiggers@google.com>2023-03-23 00:44:21 +0000
commitc88ea796fbf7f4c79155196ec483681b3733bbff (patch)
tree2f5ae7f211aca9c57d3452ab6ad8c63612681089
parent2728c6e766976acbf442d3721f2d93960e13682e (diff)
downloade2fsprogs-c88ea796fbf7f4c79155196ec483681b3733bbff.tar.gz
ext2simg: use a standard flexible array
Use a standard flexible array instead of a nonstandard zero-length array. No change in behavior. Change-Id: Ifdce24f5d6e2471634bb785527def3fe8fefc202 Signed-off-by: Eric Biggers <ebiggers@google.com>
-rw-r--r--contrib/android/ext2simg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/android/ext2simg.c b/contrib/android/ext2simg.c
index efb4e41a..9b594f37 100644
--- a/contrib/android/ext2simg.c
+++ b/contrib/android/ext2simg.c
@@ -58,7 +58,7 @@ static void usage(char *path)
static struct buf_item {
struct buf_item *next;
- void *buf[0];
+ void *buf[];
} *buf_list;
/*