summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-03-24 19:07:48 +0000
committermillert <millert@openbsd.org>2000-03-24 19:07:48 +0000
commitb78e048cf75976bdefb9dc45cb7fee701f1d349c (patch)
tree50db08628f1b59e68c11afa2458b78e3d6cca997 /sys
parentsync (diff)
downloadwireguard-openbsd-b78e048cf75976bdefb9dc45cb7fee701f1d349c.tar.xz
wireguard-openbsd-b78e048cf75976bdefb9dc45cb7fee701f1d349c.zip
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.h4
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 */