summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-18 22:29:31 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-18 22:29:31 +0200
commit779b91e48f97804958a453858cca195457174d38 (patch)
tree1161e5263ad2d179561cef2198e80d51ceeec9b3 /plugins/check_mysql.c
parent584555098d7f13b8635ef23460694d14d8f712a4 (diff)
downloadmonitoring-plugins-779b91e48f97804958a453858cca195457174d38.tar.gz
check_mysql: Use xasprintf instead of asprintf
Diffstat (limited to 'plugins/check_mysql.c')
-rw-r--r--plugins/check_mysql.c2
1 files changed, 1 insertions, 1 deletions
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
500print_help (void) 500print_help (void)
501{ 501{
502 char *myport; 502 char *myport;
503 asprintf (&myport, "%d", MYSQL_PORT); 503 xasprintf (&myport, "%d", MYSQL_PORT);
504 504
505 print_revision (progname, NP_VERSION); 505 print_revision (progname, NP_VERSION);
506 506