diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-03-24 19:07:50 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-03-24 19:07:50 +0000 |
commit | d3c473c5469bee7769b56b4c76ec67456d7c2fef (patch) | |
tree | c8ce83425760e54d4c71faa93fa7970153ed1761 /sys | |
parent | 3e965a9994d982e72b5f27ffb92fe681891e6d05 (diff) |
Make f_bsize signed. Having it unsigned causes surprising (and unwanted)
type coercions. With this fixed I can back out the hack in df.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/mount.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 82402282fce..b19e00e30d3 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.h,v 1.34 2000/02/09 10:29:56 assar Exp $ */ +/* $OpenBSD: mount.h,v 1.35 2000/03/24 19:07:48 millert Exp $ */ /* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */ /* @@ -255,7 +255,7 @@ union mount_info { /* new statfs structure with mount options */ struct statfs { u_int32_t f_flags; /* copy of mount flags */ - u_int32_t f_bsize; /* fundamental file system block size */ + int32_t f_bsize; /* fundamental file system block size */ u_int32_t f_iosize; /* optimal transfer block size */ u_int32_t f_blocks; /* total data blocks in file system */ u_int32_t f_bfree; /* free blocks in fs */ |