|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [patch] fix a bug in condition checking in blktap2
Looks like an obvious bug in arithmetic condition checking.
Signed-off-by: Jun Koi <junkoi2004@xxxxxxxxx>
--- a/tools/blktap2/drivers/lock.c Tue Jun 23 17:32:07 2009 +0100
+++ b/tools/blktap2/drivers/lock.c Wed Jun 24 16:39:23 2009 +0900
@@ -250,7 +250,7 @@
}
}
dptr = readdir(pd);
- if (!dptr & errno) {
+ if (!dptr && errno) {
*ioerror = EIO;
}
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [patch] fix a bug in condition checking in blktap2,
Jun Koi <=
|
|
|
|
|