diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-21 22:47:54 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-21 22:47:54 +0000 |
commit | f36ef64fd796169178bc9ab7a356d174eeab0c32 (patch) | |
tree | b83e79578afa29691ffc54bceb56407c24a68add /sbin | |
parent | c7c0df6baca8309db5db11dd1675f2f66c4da5e1 (diff) |
More verbose error message (what's the actual sysctl that failed)
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fdisk/disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fdisk/disk.c b/sbin/fdisk/disk.c index 08da0227d6f..57e3ee5cba0 100644 --- a/sbin/fdisk/disk.c +++ b/sbin/fdisk/disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disk.c,v 1.11 2000/04/18 22:40:15 kjell Exp $ */ +/* $OpenBSD: disk.c,v 1.12 2001/05/21 22:47:53 angelos Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -147,7 +147,7 @@ DISK_getbiosmetrics(name) mib[3] = devno; size = sizeof(di); if (sysctl(mib, 4, &di, &size, NULL, 0) < 0) { - warn("sysctl"); + warn("sysctl(machedep.bios.diskinfo)"); return (NULL); } |