aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_mysql.c
diff options
context:
space:
mode:
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 d9b4e537..4fbdc2b9 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -369,7 +369,7 @@ void
print_help (void)
{
char *myport;
- asprintf (&myport, "%d", MYSQL_PORT);
+ xasprintf (&myport, "%d", MYSQL_PORT);
print_revision (progname, NP_VERSION);