From 9583be047bed5261a520224244acaca2ca0a6595 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Fri, 4 Feb 2022 14:04:12 -0800 Subject: [PATCH] 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) {