From 9b937e7a783db041ee1283610937f2890cf2be53 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 25 Apr 2002 22:13:14 +0000 Subject: sysctl wants size_t. --- sbin/fdisk/disk.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sbin/fdisk/disk.c b/sbin/fdisk/disk.c index b3625774b34..7d48cd711e9 100644 --- a/sbin/fdisk/disk.c +++ b/sbin/fdisk/disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disk.c,v 1.14 2002/01/18 08:38:26 kjell Exp $ */ +/* $OpenBSD: disk.c,v 1.15 2002/04/25 22:13:13 espie Exp $ */ /* * Copyright (c) 1997, 2001 Tobias Weingartner @@ -123,7 +123,8 @@ DISK_getbiosmetrics(name) bios_diskinfo_t di; DISK_metrics *bm; struct stat st; - int mib[4], size, fd; + int mib[4], fd; + size_t size; dev_t devno; if ((fd = DISK_open(name, O_RDONLY)) == -1) -- cgit v1.2.3