Backout last change. strerror doesn't exist in the kernel.

Spotted-by: 	"David E. Cross" <crossd@cs.rpi.edu>
This commit is contained in:
Greg Lehey 1999-06-23 00:31:27 +00:00
parent b9ab2461b6
commit 99f43962ac

View File

@ -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;