mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-09 08:42:17 -04:00
check_mysql: Use xasprintf instead of asprintf
This commit is contained in:
parent
584555098d
commit
779b91e48f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue