Subject: CVS commit: basesrc/sbin/ifconfig
To: None <source-changes@netbsd.org>
From: Andrew Brown <atatat@netbsd.org>
List: source-changes
Date: 10/25/2001 01:10:17
Module Name: basesrc
Committed By: atatat
Date: Wed Oct 24 22:10:16 UTC 2001
Modified Files:
basesrc/sbin/ifconfig: ifconfig.c
Log Message:
Clean up the code a bit so that the ioctl() return value is always
compared to -1 (instead of <0 or !=0) and always to call err() with
EXIT_FAILURE instead of sometimes using 1.
To generate a diff of this commit:
cvs rdiff -r1.119 -r1.120 basesrc/sbin/ifconfig/ifconfig.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.