ia64/xen-unstable

changeset 19830:e7a585e69ce3

blktap2: Fix a & vs && typo

Signed-off-by: Jun Koi <junkoi2004@gmail.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 24 11:16:42 2009 +0100 (2009-06-24)
parents e6c7d6398d38
children b51f9542ab14
files tools/blktap2/drivers/lock.c
line diff
     1.1 --- a/tools/blktap2/drivers/lock.c	Wed Jun 24 11:16:08 2009 +0100
     1.2 +++ b/tools/blktap2/drivers/lock.c	Wed Jun 24 11:16:42 2009 +0100
     1.3 @@ -250,7 +250,7 @@ static int lock_holder(char *fn, char *l
     1.4                          }
     1.5                  }
     1.6                  dptr = readdir(pd);
     1.7 -                if (!dptr & errno) {
     1.8 +                if (!dptr && errno) {
     1.9                      *ioerror = EIO;
    1.10                  }
    1.11          }