cvs commit: src/sys/dev/firewire if_fwe.c

Brooks Davis brooks at one-eyed-alien.net
Mon Nov 3 10:55:57 PST 2003


On Mon, Nov 03, 2003 at 05:01:23AM -0800, Hidetoshi Shimokawa wrote:
> simokawa    2003/11/03 05:01:23 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/firewire     if_fwe.c 
>   Log:
>   - Change driver name to fix if_xname breakage in the previous revision.

Sorry about that.

>   - Don't call device_get_unit() twice.

A better solution would be to move the printf below the if_initname call
and use if_printf().  I dislike printfs that start with things like
"if_fwe%d: ".

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20031103/da246164/attachment.bin


More information about the cvs-src mailing list