* fhandler_nodevice.cc (fhandler_nodevice::open): Assume that errno has already
been set if pc.error is nonzero.
This commit is contained in:
@ -31,7 +31,8 @@ details. */
|
||||
int
|
||||
fhandler_nodevice::open (int, mode_t)
|
||||
{
|
||||
set_errno (ENXIO);
|
||||
if (!pc.error)
|
||||
set_errno (ENXIO);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user