summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/spray/spray.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/spray/spray.c b/usr.sbin/spray/spray.c
index eab462ce05d..cdc1bb5f17c 100644
--- a/usr.sbin/spray/spray.c
+++ b/usr.sbin/spray/spray.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spray.c,v 1.7 2005/09/28 16:24:43 deraadt Exp $ */
+/* $OpenBSD: spray.c,v 1.8 2008/03/17 16:28:43 sobrado Exp $ */
/*
* Copyright (c) 1993 Winning Strategies, Inc.
@@ -29,7 +29,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: spray.c,v 1.7 2005/09/28 16:24:43 deraadt Exp $
+ * $Id: spray.c,v 1.8 2008/03/17 16:28:43 sobrado Exp $
*/
#include <err.h>
@@ -227,6 +227,7 @@ print_xferstats(int packets, int packetlen, double xfertime)
void
usage(void)
{
- fprintf(stderr, "usage: spray [-c count] [-l length] [-d delay] host\n");
+ fprintf(stderr,
+ "usage: spray [-c count] [-d delay] [-l length] host ...\n");
exit(1);
}