diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-18 22:29:31 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-18 22:29:31 +0200 |
commit | 779b91e48f97804958a453858cca195457174d38 (patch) | |
tree | 1161e5263ad2d179561cef2198e80d51ceeec9b3 /plugins/check_mysql.c | |
parent | 584555098d7f13b8635ef23460694d14d8f712a4 (diff) | |
download | monitoring-plugins-779b91e48f97804958a453858cca195457174d38.tar.gz |
check_mysql: Use xasprintf instead of asprintf
Diffstat (limited to 'plugins/check_mysql.c')
-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 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); |