summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-11-20 18:44:11 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-11-20 18:44:11 +0000
commitfce1b22e829377136fe7b3cc74bafa509d9f58c3 (patch)
tree00f0d114f863ca2a6197e3be56a60e72db95f84f /lib/libc
parent7b5a59e1e734b8e5b8859e411bb3558c7842b7e1 (diff)
Be more POSIXy by using blksize_t (a.k.a. int32) for st_blksize, rather than the current uint32_t.
ok guenther@ deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/stat.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index 428086c3848..ba973017fe1 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stat.2,v 1.41 2014/08/22 23:05:15 krw Exp $
+.\" $OpenBSD: stat.2,v 1.42 2014/11/20 18:44:10 krw Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)stat.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: August 22 2014 $
+.Dd $Mdocdate: November 20 2014 $
.Dt STAT 2
.Os
.Sh NAME
@@ -142,7 +142,7 @@ struct stat {
struct timespec st_ctim; /* time of last file status change */
off_t st_size; /* file size, in bytes */
blkcnt_t st_blocks; /* blocks allocated for file */
- u_int32_t st_blksize;/* optimal blocksize for I/O */
+ blksize_t st_blksize;/* optimal blocksize for I/O */
u_int32_t st_flags; /* user defined flags for file */
u_int32_t st_gen; /* file generation number */
};