[master] bc2a411 Check pthread_join() with an AZ()

Poul-Henning Kamp phk at FreeBSD.org
Mon May 5 10:20:48 CEST 2014


commit bc2a4111b3e464b4c2b61a6eb7b446b6408d8f8d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 5 08:19:20 2014 +0000

    Check pthread_join() with an AZ()

diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index e8eb1ff..1656f0e 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -463,7 +463,7 @@ main(int argc, char **argv)
 	VUT.dispatch_priv = NULL;
 	VUT_Main();
 	end_of_file = 1;
-	pthread_join(thr, NULL);
+	AZ(pthread_join(thr, NULL));
 	VUT_Fini();
 	exit(0);
 }



More information about the varnish-commit mailing list