diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-11 16:23:54 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-11 16:23:54 +0000 |
commit | 4afea39c562671f07d648fc6474d707bf8b93a44 (patch) | |
tree | 7f81016f31b084b84c36b6a42d3a88564d844e97 /xen/tools | |
parent | e20872cf5eb608bed38f3f72012ada39c903ef1f (diff) | |
download | xen-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>
Diffstat (limited to 'xen/tools')
-rw-r--r-- | xen/tools/symbols.c | 2 |
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) |