From: Eric Biggers Date: Sun, 8 Jun 2014 03:28:30 +0000 (-0500) Subject: mount_image.c: Don't pass NULL to mq_send() X-Git-Tag: v1.7.0~48 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=0b1ef651852d008d61771c3386c2922aeab1f462 mount_image.c: Don't pass NULL to mq_send() --- 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: