diff options
-rw-r--r-- | sbin/fdisk/disk.c | 5 |
1 files 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) |