mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-02 23:27:31 -04:00
unix: fix typos in linux/types.go.
Change-Id: I0cd02100844d7565f6fc18278ff52a8cceaacec5 Reviewed-on: https://go-review.googlesource.com/107938 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
9b00609908
commit
3ccc7e5779
+3
-3
@@ -77,7 +77,7 @@ package unix
|
|||||||
|
|
||||||
// Use the stat defined by the kernel with a few modifications. These are:
|
// Use the stat defined by the kernel with a few modifications. These are:
|
||||||
// * The time fields (like st_atime and st_atimensec) use the timespec
|
// * The time fields (like st_atime and st_atimensec) use the timespec
|
||||||
// struct (like st_atim) for consitancy with the glibc fields.
|
// struct (like st_atim) for consistency with the glibc fields.
|
||||||
// * The padding fields get different names to not break compatibility.
|
// * The padding fields get different names to not break compatibility.
|
||||||
// * st_blocks is signed, again for compatibility.
|
// * st_blocks is signed, again for compatibility.
|
||||||
struct stat {
|
struct stat {
|
||||||
@@ -97,8 +97,8 @@ struct stat {
|
|||||||
|
|
||||||
off_t st_size;
|
off_t st_size;
|
||||||
|
|
||||||
// These are declared as speperate fields in the kernel. Here we use
|
// These are declared as separate fields in the kernel. Here we use
|
||||||
// the timespec struct for consistancy with the other stat structs.
|
// the timespec struct for consistency with the other stat structs.
|
||||||
struct timespec st_atim;
|
struct timespec st_atim;
|
||||||
struct timespec st_mtim;
|
struct timespec st_mtim;
|
||||||
struct timespec st_ctim;
|
struct timespec st_ctim;
|
||||||
|
|||||||
Reference in New Issue
Block a user