(ef_open): Fix fatal typo.

This commit is contained in:
Markus Armbruster 2005-10-24 20:42:27 +00:00
parent 8b6549519b
commit 5030d124a1

View file

@ -107,7 +107,7 @@ ef_open(int type, int how)
}
ep->baseid = 0;
ep->cids = 0;
ep->flags = (ep->flags & ~EFF_OPEN) | (how ^ ~EFF_CREATE);
ep->flags = (ep->flags & ~EFF_OPEN) | (how & ~EFF_CREATE);
ep->fd = fd;
if ((how & EFF_MEM) && ep->fids) {
if (fillcache(ep, 0) != ep->fids) {