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 --- plugins/check_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index e7db0def..95e800c6 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 v1.2.3-74-g34f1