changeset 35 | 4f10421681d2 |
parent 31 | 7804cd7b5cd5 |
child 36 | 56427f22e969 |
--- a/src/dbfs/fileop.c Fri Oct 17 19:28:27 2008 +0300 +++ b/src/dbfs/fileop.c Fri Oct 17 20:12:20 2008 +0300 @@ -39,7 +39,7 @@ // is it a dir? if (_dbfs_mode(type) != S_IFREG) - EERROR(err = ENOENT, "wrong type: %s", type); + EERROR(err = EINVAL, "wrong type: %s", type); INFO("[dbfs.open %p:%p] -> ino=%lu, type=%s", fop, fop->base.req, (unsigned long int) fop->base.ino, type);