aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>1999-06-23 00:31:27 +0000
committerGreg Lehey <grog@FreeBSD.org>1999-06-23 00:31:27 +0000
commit99f43962acd8e5741945d855b6fb64face70522d (patch)
treef5b0a9c3498548cdb5964da6ad49922f53b351e2
parentb9ab2461b680a95912ae5a7fb5a347a94fd57a51 (diff)
downloadsrc-99f43962acd8e5741945d855b6fb64face70522d.tar.gz
src-99f43962acd8e5741945d855b6fb64face70522d.zip
Backout last change. strerror doesn't exist in the kernel.
Spotted-by: "David E. Cross" <crossd@cs.rpi.edu>
Notes
Notes: svn path=/head/; revision=48120
-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 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;