From 61024165630748ed574d1bd529e4e667f2aca5ea Mon Sep 17 00:00:00 2001 From: millert Date: Fri, 11 Feb 2022 15:11:35 +0000 Subject: [PATCH] Fix typo in comment for f_favail. From Alf Schlichting --- lib/libc/gen/statvfs.3 | 6 +++--- sys/sys/statvfs.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/statvfs.3 b/lib/libc/gen/statvfs.3 index 1c36d8ac645..733748b8f98 100644 --- a/lib/libc/gen/statvfs.3 +++ b/lib/libc/gen/statvfs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: statvfs.3,v 1.8 2015/01/29 01:46:30 schwarze Exp $ +.\" $OpenBSD: statvfs.3,v 1.9 2022/02/11 15:11:35 millert Exp $ .\" $NetBSD: statfs.2,v 1.10 1995/06/29 11:40:48 cgd Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)statfs.2 8.3 (Berkeley) 2/11/94 .\" -.Dd $Mdocdate: January 29 2015 $ +.Dd $Mdocdate: February 11 2022 $ .Dt STATVFS 3 .Os .Sh NAME @@ -61,7 +61,7 @@ struct statvfs { fsblkcnt_t f_bavail; /* free blocks for non-root */ fsfilcnt_t f_files; /* total file inodes */ fsfilcnt_t f_ffree; /* free file inodes */ - fsfilcnt_t f_favail; /* free file inodes for to non-root */ + fsfilcnt_t f_favail; /* free file inodes for non-root */ unsigned long f_fsid; /* file system id */ unsigned long f_flag; /* bit mask of f_flag values */ unsigned long f_namemax; /* maximum filename length */ diff --git a/sys/sys/statvfs.h b/sys/sys/statvfs.h index 7c6492b063e..5381ed91b99 100644 --- a/sys/sys/statvfs.h +++ b/sys/sys/statvfs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: statvfs.h,v 1.3 2013/03/24 17:45:50 deraadt Exp $ */ +/* $OpenBSD: statvfs.h,v 1.4 2022/02/11 15:11:35 millert Exp $ */ /* * Copyright (c) 2008 Otto Moerbeek @@ -29,7 +29,7 @@ struct statvfs { fsblkcnt_t f_bavail; /* free blocks for non-root */ fsfilcnt_t f_files; /* total file inodes */ fsfilcnt_t f_ffree; /* free file inodes */ - fsfilcnt_t f_favail; /* free file inodes for to non-root */ + fsfilcnt_t f_favail; /* free file inodes for non-root */ unsigned long f_fsid; /* file system id */ unsigned long f_flag; /* bit mask of f_flag values */ unsigned long f_namemax; /* maximum filename length */ -- 2.20.1