summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-06-23 00:31:27 +0000
committergrog <grog@FreeBSD.org>1999-06-23 00:31:27 +0000
commitcee9cc579de10a45a5c3b398e0692c60313c260b (patch)
tree0f47481a23cb19fa781f247add484b89d8a0676b
parent171c883fd51ba769a676ab4f4639b7e6c4dfa51a (diff)
downloadFreeBSD-src-cee9cc579de10a45a5c3b398e0692c60313c260b.zip
FreeBSD-src-cee9cc579de10a45a5c3b398e0692c60313c260b.tar.gz
Backout last change. strerror doesn't exist in the kernel.
Spotted-by: "David E. Cross" <crossd@cs.rpi.edu>
-rw-r--r--sys/dev/vinum/vinumio.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c
index 7983cd8..0fc51c5 100644
--- a/sys/dev/vinum/vinumio.c
+++ b/sys/dev/vinum/vinumio.c
@@ -62,10 +62,8 @@ open_drive(struct drive *drive, struct proc *p, int verbose)
drive->lasterror = error;
if (verbose)
log(LOG_WARNING,
- "vinum open_drive %s failed: %s (%d)\n",
- drive->devicename,
- strerror(error),
- error);
+ "vinum open_drive %s: failed with error %d\n",
+ drive->devicename, error); /* XXX */
return error;
}
drive->vp = nd.ni_vp;
OpenPOWER on IntegriCloud