git: 9583be047bed - main - Properly fix parameter to sysctlnametomib().
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Feb 2022 22:07:05 UTC
The branch main has been updated by mckusick:
URL: https://cgit.FreeBSD.org/src/commit/?id=9583be047bed5261a520224244acaca2ca0a6595
commit 9583be047bed5261a520224244acaca2ca0a6595
Author: Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: 2022-02-04 22:04:12 +0000
Commit: Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2022-02-04 22:04:12 +0000
Properly fix parameter to sysctlnametomib().
---
sbin/fsck_ffs/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c
index 1c14ffcff3fc..9ea5f5b91110 100644
--- a/sbin/fsck_ffs/main.c
+++ b/sbin/fsck_ffs/main.c
@@ -590,7 +590,7 @@ setup_bkgrdchk(struct statfs *mntp, int sbreadfailed, char **filesys)
struct iovec *iov;
char errmsg[255];
int iovlen;
- unsigned int size;
+ size_t size;
/* Get the mount point information of the file system */
if (mntp == NULL) {