diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2002-04-25 22:13:14 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2002-04-25 22:13:14 +0000 |
commit | 9b937e7a783db041ee1283610937f2890cf2be53 (patch) | |
tree | 7050b5168e792e961fda2d783172e6c9962e7536 /sbin/fdisk/disk.c | |
parent | 77e7cee03df5a7285f8d9ded75bd6c0687e8939d (diff) |
sysctl wants size_t.
Diffstat (limited to 'sbin/fdisk/disk.c')
-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) |