summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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