From 779b91e48f97804958a453858cca195457174d38 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 18 Aug 2013 22:29:31 +0200 Subject: check_mysql: Use xasprintf instead of asprintf diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index e7db0de..95e800c 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c @@ -500,7 +500,7 @@ void print_help (void) { char *myport; - asprintf (&myport, "%d", MYSQL_PORT); + xasprintf (&myport, "%d", MYSQL_PORT); print_revision (progname, NP_VERSION); -- cgit v0.10-9-g596f