diff options
| author | cgd <cgd@NetBSD.org> | 1998-03-21 02:04:55 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1998-03-21 02:04:55 +0000 |
| commit | 3cc8b411d0ff49810f3ba1526cae07e0ebea68c0 (patch) | |
| tree | 949212e5f7090aae1acd3c1ecbe3ebeb3ff80d43 /sys/dev | |
| parent | fe9ada4a1c77366181889c9ba800554789ddbd2c (diff) | |
-Wall (one real bug, even!)
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ofw/ofdisk.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ofw/ofdisk.c b/sys/dev/ofw/ofdisk.c index 060381b6986..a42ded60d36 100644 --- a/sys/dev/ofw/ofdisk.c +++ b/sys/dev/ofw/ofdisk.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofdisk.c,v 1.11 1998/02/24 07:10:39 mycroft Exp $ */ +/* $NetBSD: ofdisk.c,v 1.12 1998/03/21 02:04:55 cgd Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -137,7 +137,6 @@ ofdisk_open(dev, flags, fmt, p) int unit = DISKUNIT(dev); struct ofdisk_softc *of; char path[256]; - struct disklabel *lp; int l; if (unit >= ofdisk_cd.cd_ndevs) @@ -459,6 +458,6 @@ ofdisk_getdisklabel(dev) unit, RAW_PART), ofdisk_strategy, lp, of->sc_dk.dk_cpulabel); if (errmes != NULL) - printf("%s: %s\n", errmes); + printf("%s: %s\n", of->sc_dev.dv_xname, errmes); } } |
