DmaDevice: fix minor type in error message.
authorSteve Reinhardt <Steve.Reinhardt@amd.com>
Mon, 10 Nov 2008 22:45:31 +0000 (14:45 -0800)
committerSteve Reinhardt <Steve.Reinhardt@amd.com>
Mon, 10 Nov 2008 22:45:31 +0000 (14:45 -0800)
src/dev/io_device.hh

index e18489378f32bd0352ee32b49241821ea02b597c..70af6093db42749572f4f940287932169efbf6b3 100644 (file)
@@ -297,7 +297,7 @@ class DmaDevice : public PioDevice
         } else if (if_name == "dma") {
             if (dmaPort != NULL)
                 fatal("%s: dma port already connected to %s",
-                      name(), pioPort->getPeer()->name());
+                      name(), dmaPort->getPeer()->name());
             dmaPort = new DmaPort(this, sys);
             return dmaPort;
         } else