diff options
author | archie <archie@FreeBSD.org> | 2002-08-22 21:24:01 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2002-08-22 21:24:01 +0000 |
commit | 7a233d4c9f8562bf331fa9b7d4d1f649521fb602 (patch) | |
tree | 2fc5ad56a57cb03d56c0aa0af0f4c9ba2c7bb631 /sys/dev/digi/digi_isa.c | |
parent | 7995682a2f9ee27c40a0794821e01853508b55c3 (diff) | |
download | FreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.zip FreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.tar.gz |
Replace (ab)uses of "NULL" where "0" is really meant.
Diffstat (limited to 'sys/dev/digi/digi_isa.c')
-rw-r--r-- | sys/dev/digi/digi_isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/digi/digi_isa.c b/sys/dev/digi/digi_isa.c index 2c74c65..8667095 100644 --- a/sys/dev/digi/digi_isa.c +++ b/sys/dev/digi/digi_isa.c @@ -114,7 +114,7 @@ digi_isa_check(struct digi_softc *sc) outb(sc->port, FEPRST); for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) { if (i == hz / 10) - return (NULL); + return (0); digi_delay(sc, "digirst", 1); } DLOG(DIGIDB_INIT, (sc->dev, "got reset after %d iterations\n", i)); @@ -188,7 +188,7 @@ digi_isa_check(struct digi_softc *sc) if (ident & 0x1) { device_printf(sc->dev, "PC/Xm is unsupported\n"); - return (NULL); + return (0); } sc->mem_seg = 0xf000; |