ruby: Added more info to bridge error message

This commit is contained in:
Brad Beckmann
2009-11-18 13:55:57 -08:00
parent 17e14efa7e
commit d7a4f665ed

View File

@@ -93,7 +93,9 @@ Bridge::init()
fatal("Both ports of bus bridge are not connected to a bus.\n");
if (portA.peerBlockSize() != portB.peerBlockSize())
fatal("Busses don't have the same block size... Not supported.\n");
fatal("port A size %d, port B size %d \n " \
"Busses don't have the same block size... Not supported.\n",
portA.peerBlockSize(), portB.peerBlockSize());
}
bool