WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] blktap2: Fix a & vs && typo
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Jun 2009 08:57:04 -0700
Delivery-date: Fri, 26 Jun 2009 09:07:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] blktap2: Fix a & vs && typo, Xen patchbot-unstable <=