diff options
-rw-r--r-- | lib/libc/gen/statvfs.3 | 6 | ||||
-rw-r--r-- | sys/sys/statvfs.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gen/statvfs.3 b/lib/libc/gen/statvfs.3 index 31863e81851..5d76544188a 100644 --- a/lib/libc/gen/statvfs.3 +++ b/lib/libc/gen/statvfs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: statvfs.3,v 1.1 2008/03/22 19:17:51 otto Exp $ +.\" $OpenBSD: statvfs.3,v 1.2 2008/03/22 19:37:05 otto Exp $ .\" $NetBSD: statfs.2,v 1.10 1995/06/29 11:40:48 cgd Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -67,8 +67,8 @@ struct statvfs { unsigned long f_namemax; /* maximum filename length */ }; -#define ST_RDONLY 0x0001L /* read-only filesystem */ -#define ST_NOSUID 0x0002L /* nosuid flag set */ +#define ST_RDONLY 0x0001UL /* read-only filesystem */ +#define ST_NOSUID 0x0002UL /* nosuid flag set */ .Ed .Pp .Fn fstatvfs diff --git a/sys/sys/statvfs.h b/sys/sys/statvfs.h index 3c171058b92..acc09ad1c64 100644 --- a/sys/sys/statvfs.h +++ b/sys/sys/statvfs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: statvfs.h,v 1.1 2008/03/16 19:42:57 otto Exp $ */ +/* $OpenBSD: statvfs.h,v 1.2 2008/03/22 19:37:05 otto Exp $ */ /* * Copyright (c) 2008 Otto Moerbeek <otto@drijf.net> @@ -35,8 +35,8 @@ struct statvfs { unsigned long f_namemax; /* maximum filename length */ }; -#define ST_RDONLY 0x0001L /* read-only filesystem */ -#define ST_NOSUID 0x0002L /* nosuid flag set */ +#define ST_RDONLY 0x0001UL /* read-only filesystem */ +#define ST_NOSUID 0x0002UL /* nosuid flag set */ __BEGIN_DECLS int fstatvfs(int, struct statvfs *); |