From 591460982c4372b461da8378682c9256dd913bba Mon Sep 17 00:00:00 2001 From: Jose Nazario Date: Thu, 5 Oct 2006 16:34:29 +0000 Subject: [PATCH] bitwise-or-20051005 bitwise and, not logical for p->flags in vnode_stop reported by Jose Nazario --- src/tests/pathname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/pathname.c b/src/tests/pathname.c index dafc48ebd7..9238f12777 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;