summaryrefslogtreecommitdiff
path: root/src/kern/tru64
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-09-26 08:18:56 -0700
committerNathan Binkert <nate@binkert.org>2008-09-26 08:18:56 -0700
commitabca171e244b27d1c44a9bcdedbe231bdc342cbb (patch)
tree062d0131ec6f4561df4fe9a2d494632520384f3b /src/kern/tru64
parent6798aa14ed68b2c7a7ad7f09e6223d5d28f0e56e (diff)
downloadgem5-abca171e244b27d1c44a9bcdedbe231bdc342cbb.tar.xz
Use logical operator instead of bitwise operator for correctness.
Diffstat (limited to 'src/kern/tru64')
-rw-r--r--src/kern/tru64/tru64.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kern/tru64/tru64.hh b/src/kern/tru64/tru64.hh
index d0c359a1f..dfdb8524d 100644
--- a/src/kern/tru64/tru64.hh
+++ b/src/kern/tru64/tru64.hh
@@ -723,7 +723,7 @@ class Tru64 : public OperatingSystem
abort();
}
- if (thread_index < 0 | thread_index > process->numCpus()) {
+ if (thread_index < 0 || thread_index > process->numCpus()) {
cerr << "nxm_thread_create: bad thread index " << thread_index
<< endl;
abort();