svn commit: r195200 - in head/usr.sbin: . wake

Marc Balmer marc at msys.ch
Tue Jun 30 20:22:37 UTC 2009


Am 30.06.2009 um 22:02 schrieb Thomas Backman:

> On Jun 30, 2009, at 08:51 PM, Martin Blapp wrote:
>
>>
>> +void
>> +usage(void)
>> +{
>> +	(void)fprintf(stderr, "usage: wake interface lladdr\n");
>> +	exit(0);
>> +}
>> [...]
>> +	for (n = 2; n < argc; n++)
>> +		if (wake(argv[1], argv[n]))
>> +			warnx("error sending Wake on LAN frame over %s to %s",
>> +			    argv[1], argv[n]);
>> +	return 0;
>> +}
> The usage() function doesn't mention the possibility of specifying  
> multiple hosts (although it appears the manual page does mention it).

yes, that is wrong.  I will send mbr@ a diff shortly.

>
> Regards,
> Thomas
> _______________________________________________
> svn-src-all at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"



More information about the svn-src-head mailing list