diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-14 02:26:34 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-14 02:26:34 +0000 |
commit | 2a68978c564e53cddc90882ee7776a43839dfcff (patch) | |
tree | 7c8432f893e4c43f2d20d022ba8ccdc05752e4e6 /plugins/check_dns.c | |
parent | 9e009c4b1128352c6039d25b39213fd480e9b055 (diff) | |
download | monitoring-plugins-2a68978c564e53cddc90882ee7776a43839dfcff.tar.gz |
remove call_getopt and ssprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@191 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r-- | plugins/check_dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index f9cf2889..714ecab0 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c | |||
@@ -88,7 +88,7 @@ main (int argc, char **argv) | |||
88 | } | 88 | } |
89 | 89 | ||
90 | /* get the command to run */ | 90 | /* get the command to run */ |
91 | sprintf (&command_line, "%s %s %s", NSLOOKUP_COMMAND, query_address, dns_server); | 91 | asprintf (&command_line, "%s %s %s", NSLOOKUP_COMMAND, query_address, dns_server); |
92 | 92 | ||
93 | alarm (timeout_interval); | 93 | alarm (timeout_interval); |
94 | time (&start_time); | 94 | time (&start_time); |