Correct ping(1) usage string (Bug#372, reported by Leith Brandeland

This commit is contained in:
David van Moolenbroek 2009-12-23 23:42:07 +00:00
parent f24f987b95
commit 692dc020e1

View file

@ -54,8 +54,7 @@ char *argv[];
if (argc<2 || argc>3)
{
fprintf(stderr, "Usage: %s hostname [-l length] [-t timeout]\n",
argv[0]);
fprintf(stderr, "Usage: %s hostname [length]\n", argv[0]);
exit(1);
}
hostent= gethostbyname(argv[1]);