From: Jose Nazario Date: Thu, 5 Oct 2006 16:34:29 +0000 (+0000) Subject: bitwise-or-20051005 X-Git-Tag: BP-openafs-windows-kdfs-ifs~1017 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=591460982c4372b461da8378682c9256dd913bba;p=packages%2Fo%2Fopenafs.git bitwise-or-20051005 bitwise and, not logical for p->flags in vnode_stop reported by Jose Nazario --- diff --git a/src/tests/pathname.c b/src/tests/pathname.c index dafc48ebd..9238f1277 100644 --- a/src/tests/pathname.c +++ b/src/tests/pathname.c @@ -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;