Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2010 16:45:18 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/mount mount.c
Message-ID:  <201003071645.o27GjcO6092893@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2010-03-07 16:45:18 UTC

  FreeBSD src repository

  Modified files:
    sbin/mount           mount.c 
  Log:
  SVN rev 204840 on 2010-03-07 16:45:18Z by bz
  
  As statfs.f_flags are uint64_t the local variables should be as well.
  We'll start noticing this with the next flag introduced as the lower
  32bit are all used.
  As this is old code we might need to do a full tree sweep one day, unless
  changing our strategy to use a different `API' for getting/setting flags
  along with the rest of the statfs data.
  
  While here compare to 0 explicitly [1].
  
  Suggested by:   kib [1]
  Reviewed by:    kib
  MFC after:      5 days
  
  Revision  Changes    Path
  1.110     +3 -3      src/sbin/mount/mount.c



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