X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fmount_image.c;h=f8e733d872116cb3b0aa455d632f87e8320d4199;hb=f957cacefa8b7b14544d27ba8519dae94e96c9f7;hp=934b4450c6bc0f150ed3894a2385561f9e923934;hpb=23e0fbfa065d4f25f41ce145e56765b7bf4bac92;p=wimlib diff --git a/src/mount_image.c b/src/mount_image.c index 934b4450..f8e733d8 100644 --- a/src/mount_image.c +++ b/src/mount_image.c @@ -2416,7 +2416,8 @@ do_unmount_commit(const char *dir, int unmount_flags, ret = do_unmount(dir); if (progfunc) { /* Terminate the progress thread. */ - mq_send(mq, NULL, 0, 1); + char empty[0]; + mq_send(mq, empty, 0, 1); pthread_join(commit_progress_tid, NULL); } out_delete_mq: