summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2005-09-14 14:40:20 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2005-09-14 14:40:20 +0000
commite5e4c84560fbf14529fc3d8e8886ade116198047 (patch)
tree1f6f6655292eb11740ac11f9ffcf231cb69dbc79 /plugins/check_ping.c
parent3fc34f5fa1bbffb898aacb6c34dccaac7cda9e7c (diff)
downloadmonitoring-plugins-e5e4c84560fbf14529fc3d8e8886ade116198047.tar.gz
Using common message
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1221 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index a6c43c36..1903678d 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -393,8 +393,7 @@ validate_arguments ()
393 } 393 }
394 394
395 if (n_addresses == 0) { 395 if (n_addresses == 0) {
396 printf(_("You must specify a server address or host name\n")); 396 usage (_("You must specify a server address or host name"));
397 return ERROR;
398 } 397 }
399 398
400 return OK; 399 return OK;