From 99f43962acd8e5741945d855b6fb64face70522d Mon Sep 17 00:00:00 2001 From: Greg Lehey Date: Wed, 23 Jun 1999 00:31:27 +0000 Subject: [PATCH] Backout last change. strerror doesn't exist in the kernel. Spotted-by: "David E. Cross" --- sys/dev/vinum/vinumio.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c index 7983cd80dafd..0fc51c579b23 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;