aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>1999-06-22 05:37:05 +0000
committerGreg Lehey <grog@FreeBSD.org>1999-06-22 05:37:05 +0000
commit05f0cb5d5f3c34c6f25374b9a8697503b27147ff (patch)
tree06ec045ce4a3ea4b465f21eef1ff94221e3f302b /sys/dev
parentd884f7143f1c06f88af9f58b0984dfdae57a500f (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/vinum/vinumio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c
index 0fc51c579b23..7983cd80dafd 100644
--- a/sys/dev/vinum/vinumio.c
+++ b/sys/dev/vinum/vinumio.c
@@ -62,8 +62,10 @@ open_drive(struct drive *drive, struct proc *p, int verbose)
drive->lasterror = error;
if (verbose)
log(LOG_WARNING,
- "vinum open_drive %s: failed with error %d\n",
- drive->devicename, error); /* XXX */
+ "vinum open_drive %s failed: %s (%d)\n",
+ drive->devicename,
+ strerror(error),
+ error);
return error;
}
drive->vp = nd.ni_vp;