diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 16:51:25 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 16:51:25 (GMT) |
commit | 234481163fc3caf0cb8b14f601f0f9f1458f97f5 (patch) | |
tree | e8debce30a2722f5f4dc5e33faf54c9915dd022f /plugins/check_dig.c | |
parent | df1bd0c89ff63de64ee630e0025389651947020c (diff) | |
download | monitoring-plugins-234481163fc3caf0cb8b14f601f0f9f1458f97f5.tar.gz |
More internationalization work
new usage4 function to permit localisation of think like check_ssh: xxxxx
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@979 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r-- | plugins/check_dig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c index 14c0da5..0102ea5 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c | |||
@@ -66,10 +66,10 @@ main (int argc, char **argv) | |||
66 | 66 | ||
67 | /* Set signal handling and alarm */ | 67 | /* Set signal handling and alarm */ |
68 | if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) | 68 | if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) |
69 | usage (_("Cannot catch SIGALRM\n")); | 69 | usage4 (_("Cannot catch SIGALRM")); |
70 | 70 | ||
71 | if (process_arguments (argc, argv) != TRUE) | 71 | if (process_arguments (argc, argv) != TRUE) |
72 | usage (_("Could not parse arguments\n")); | 72 | usage4 (_("Could not parse arguments")); |
73 | 73 | ||
74 | /* get the command to run */ | 74 | /* get the command to run */ |
75 | asprintf (&command_line, "%s @%s -p %d %s -t %s", | 75 | asprintf (&command_line, "%s @%s -p %d %s -t %s", |