Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2010 14:26:49 +0000 (UTC)
From:      Ulrich Spoerlein <uqs@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/fsirand Makefile fsirand.c
Message-ID:  <201005141427.o4EER5Wu012981@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
uqs         2010-05-14 14:26:49 UTC

  FreeBSD src repository

  Modified files:
    sbin/fsirand         Makefile fsirand.c 
  Log:
  SVN rev 208074 on 2010-05-14 14:26:49Z by uqs
  
  fsirand(8): make WARNS=3 clean
  
  - Drop bogus quad_t cast for di_gen, it is a 32bit type
  - Print di_gen with leading zeros, to get consistent output
    Before this change, amd64 would print:
  
    ino 18 gen 616ca2bd
    ino 19 gen ffffffff95c2a3ff
    ino 20 gen 25c3a3d5
    ino 21 gen 8dc1472
    ino 22 gen 3797056b
    ino 23 gen 1d47853a
    ino 24 gen ffffffff82d26995
  
    After the change
  
    ino 18 gen 616ca2bd
    ino 19 gen 95c2a3ff
    ino 20 gen 25c3a3d5
    ino 21 gen 08dc1472
    ino 22 gen 3797056b
    ino 23 gen 1d47853a
    ino 24 gen 82d26995
  
  PR:             bin/139994 (sort of)
  Reviewed by:    mckusick
  
  Revision  Changes    Path
  1.7       +1 -1      src/sbin/fsirand/Makefile
  1.14      +22 -17    src/sbin/fsirand/fsirand.c



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