cvs commit: src/sbin/mknod mknod.c

Xin LI delphij at FreeBSD.org
Thu Jun 14 03:16:18 UTC 2007


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
  
  Revision  Changes    Path
  1.16      +1 -1      src/sbin/mknod/mknod.c


More information about the cvs-src mailing list