diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-18 20:29:31 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-18 20:29:31 (GMT) |
commit | 779b91e48f97804958a453858cca195457174d38 (patch) | |
tree | 1161e5263ad2d179561cef2198e80d51ceeec9b3 | |
parent | 584555098d7f13b8635ef23460694d14d8f712a4 (diff) | |
download | monitoring-plugins-779b91e48f97804958a453858cca195457174d38.tar.gz |
check_mysql: Use xasprintf instead of asprintf
-rw-r--r-- | plugins/check_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
500 | print_help (void) | 500 | print_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 | ||