diff options
Diffstat (limited to 'src/mem/bus.cc')
-rw-r--r-- | src/mem/bus.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/bus.cc b/src/mem/bus.cc index 274b8c258..a0db6e52a 100644 --- a/src/mem/bus.cc +++ b/src/mem/bus.cc @@ -100,8 +100,8 @@ BaseBus::init() blockSize = peer_block_size; // check if the block size is a value known to work - if (blockSize != 16 || blockSize != 32 || blockSize != 64 || - blockSize != 128) + if (!(blockSize == 16 || blockSize == 32 || blockSize == 64 || + blockSize == 128)) warn_once("Block size is neither 16, 32, 64 or 128 bytes.\n"); } |