bitwise-or-20051005

bitwise and, not logical for p->flags in vnode_stop
reported by Jose Nazario
This commit is contained in:
Jose Nazario 2006-10-05 16:34:29 +00:00 committed by Jim Rees
parent 38d464e579
commit 591460982c

View File

@ -122,7 +122,7 @@ vnode_stop(afs_vnode * v, XFILE * X, void *refcon)
int r;
/* If the file is seekable, try to position so we can pick up later... */
if (phi->p->flags && DSFLAG_SEEK)
if (phi->p->flags & DSFLAG_SEEK)
if (r = xfseek(X, &v->offset))
return r;
return DSERR_DONE;