We can now properly return ENODEV in nommap(), so do it.

Remove the now wrong comment which says we can't.
This commit is contained in:
Maxime Henrion 2003-02-27 14:48:53 +00:00
parent beea48b254
commit bca0668a92

View File

@ -139,8 +139,7 @@ nommap(dev, offset, paddr, nprot)
int nprot;
{
/* Don't return ENODEV. That would allow mapping address ENODEV! */
return (-1);
return (ENODEV);
}
int