diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2003-12-23 02:36:43 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2003-12-23 02:36:43 +0000 |
| commit | a89ec05e3eddc4235386e1246b638b3d4d8815f5 (patch) | |
| tree | d22ef24bdd562f18d9dfc77f257b3dd71335c80f /sys/dev/mpt | |
| parent | 98ef6ed422a98c5a23f580fa08cf563a05f9a9fe (diff) | |
Notes
Diffstat (limited to 'sys/dev/mpt')
| -rw-r--r-- | sys/dev/mpt/mpt_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mpt/mpt_pci.c b/sys/dev/mpt/mpt_pci.c index afc06847f9367..f0b800349bdb9 100644 --- a/sys/dev/mpt/mpt_pci.c +++ b/sys/dev/mpt/mpt_pci.c @@ -474,7 +474,7 @@ mpt_dma_mem_alloc(mpt_softc_t *mpt) device_t dev = mpt->dev; /* Check if we alreay have allocated the reply memory */ - if (mpt->reply_phys != NULL) { + if (mpt->reply_phys != 0) { return 0; } |
