Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2007 03:16:16 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/mknod mknod.c
Message-ID:  <200706140316.l5E3GIMS013585@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706140316.l5E3GIMS013585>