[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] blktap2: Fix a & vs && typo



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245838602 -3600
# Node ID e7a585e69ce3227908e7b5959e6e419fde754c6e
# Parent  e6c7d6398d38a482f15090bea08716165c1d7333
blktap2: Fix a & vs && typo

Signed-off-by: Jun Koi <junkoi2004@xxxxxxxxx>
---
 tools/blktap2/drivers/lock.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r e6c7d6398d38 -r e7a585e69ce3 tools/blktap2/drivers/lock.c
--- a/tools/blktap2/drivers/lock.c      Wed Jun 24 11:16:08 2009 +0100
+++ b/tools/blktap2/drivers/lock.c      Wed Jun 24 11:16:42 2009 +0100
@@ -250,7 +250,7 @@ static int lock_holder(char *fn, char *l
                         }
                 }
                 dptr = readdir(pd);
-                if (!dptr & errno) {
+                if (!dptr && errno) {
                     *ioerror = EIO;
                 }
         }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.