aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-08-11 16:23:54 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-08-11 16:23:54 +0000
commit4afea39c562671f07d648fc6474d707bf8b93a44 (patch)
tree7f81016f31b084b84c36b6a42d3a88564d844e97
parente20872cf5eb608bed38f3f72012ada39c903ef1f (diff)
downloadxen-4afea39c562671f07d648fc6474d707bf8b93a44.tar.gz
xen-4afea39c562671f07d648fc6474d707bf8b93a44.tar.bz2
xen-4afea39c562671f07d648fc6474d707bf8b93a44.zip
Fix where "!" operator used in Bitwise operation.
In IBM we have an internal source code scanner called BEAM. We have run it against Xen and here are some of the results. Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
-rw-r--r--xen/tools/symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/tools/symbols.c b/xen/tools/symbols.c
index 7bc141e210..3eca4cae1b 100644
--- a/xen/tools/symbols.c
+++ b/xen/tools/symbols.c
@@ -311,7 +311,7 @@ write_src(void)
off = 0;
for (i = 0; i < cnt; i++) {
- if (!table[i].flags & SYM_FLAG_VALID)
+ if (!(table[i].flags & SYM_FLAG_VALID))
continue;
if ((valid & 0xFF) == 0)