aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_apt.c
diff options
context:
space:
mode:
authorGravatar Spenser Reinhardt <sreinhardt@nagios.com> 2014-01-20 14:05:37 -0600
committerGravatar Jan Wagner <waja@cyconet.org> 2014-01-21 11:33:45 +0100
commit212575b8583616058dc4ced59e38d7d36529800a (patch)
tree26843a5211f221acd145a0e32ecf40a1a993c497 /plugins/check_apt.c
parent96f45b6698809a73a38ae1b648782bc967f3bbe1 (diff)
downloadmonitoring-plugins-212575b8583616058dc4ced59e38d7d36529800a.tar.gz
plugins/*.c: Alterations for timeout messages.
.c file changes for misleading timeout messages in help functions. Solution to pull request #1209 tracker by awiddersheim. Files: plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dbi.c, plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, plugins/check_game.c, plugins/check_http.c, plugins/check_ldap.c, plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c, plugins/negate.c
Diffstat (limited to 'plugins/check_apt.c')
-rw-r--r--plugins/check_apt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_apt.c b/plugins/check_apt.c
index daeb7578..fbba4945 100644
--- a/plugins/check_apt.c
+++ b/plugins/check_apt.c
@@ -430,7 +430,7 @@ print_help (void)
printf(UT_HELP_VRSN);
printf(UT_EXTRA_OPTS);
- printf(UT_TIMEOUT, timeout_interval);
+ printf(UT_CONN_TIMEOUT, timeout_interval);
printf (" %s\n", "-U, --upgrade=OPTS");
printf (" %s\n", _("[Default] Perform an upgrade. If an optional OPTS argument is provided,"));