diff options
| author | Greg Lehey <grog@FreeBSD.org> | 1999-06-22 05:37:05 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 1999-06-22 05:37:05 +0000 |
| commit | 05f0cb5d5f3c34c6f25374b9a8697503b27147ff (patch) | |
| tree | 06ec045ce4a3ea4b465f21eef1ff94221e3f302b /sys/dev | |
| parent | d884f7143f1c06f88af9f58b0984dfdae57a500f (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/vinum/vinumio.c | 6 |
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; |
