On Thu, 14 Jun 2007, Xin LI wrote:

delphij     2007-06-14 03:16:16 UTC

 FreeBSD src repository

 Modified files:
   sbin/mknod           mknod.c
 Log:
 In the previous changeset a cast of myminor to u_int were
 removed, which will cause problems on architectures where
 longs are longer than ints, for instance,
         "mknod foo c 0 0xffff00ff"
 would fail in such cases.

 Use a proper cast instead.

 Prompted by:    bde

Thanks.

Er, it still has a wrong cast for the major number.

Bruce
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to