aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
print_help (void)
{
char *myport;
- asprintf (&myport, "%d", MYSQL_PORT);
+ xasprintf (&myport, "%d", MYSQL_PORT);
print_revision (progname, NP_VERSION);