From: Ton Voon Date: Wed, 14 Sep 2005 14:40:20 +0000 (+0000) Subject: Using common message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e5e4c84560fbf14529fc3d8e8886ade116198047;p=nagiosplug.git Using common message git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1221 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/plugins/check_ping.c b/plugins/check_ping.c index a6c43c3..1903678 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c @@ -393,8 +393,7 @@ validate_arguments () } if (n_addresses == 0) { - printf(_("You must specify a server address or host name\n")); - return ERROR; + usage (_("You must specify a server address or host name")); } return OK;