git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69f07a5
)
mount_image.c: Replace use of zero-length array
author
Eric Biggers
<ebiggers3@gmail.com>
Sat, 22 Nov 2014 03:42:35 +0000
(21:42 -0600)
committer
Eric Biggers
<ebiggers3@gmail.com>
Sat, 22 Nov 2014 03:42:38 +0000
(21:42 -0600)
src/mount_image.c
patch
|
blob
|
history
diff --git
a/src/mount_image.c
b/src/mount_image.c
index 18db8571fbd270eafe43e46ad27cae5153d40d91..3f1d272dceae0b5cce6478404c577b64018afbbe 100644
(file)
--- a/
src/mount_image.c
+++ b/
src/mount_image.c
@@
-2435,7
+2435,7
@@
do_unmount_commit(const char *dir, int unmount_flags,
ret = do_unmount(dir);
if (progfunc) {
/* Terminate the progress thread. */
- char empty[
0
];
+ char empty[
1
];
mq_send(mq, empty, 0, 1);
pthread_join(commit_progress_tid, NULL);
}