diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2024-11-05 18:59:00 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2024-11-05 18:59:00 +0000 |
commit | cf732b4dbb21d38c90af004a3cf93f52b5b9e3fe (patch) | |
tree | 4b73eb10ab3c66286c94869ca0798a37c95c637d /sys/dev/pci/cz.c | |
parent | 80a6a180589321a8933ead88fa66f53793ffc19a (diff) |
The first field of struct cfdriver is a pointer. Put NULL rather than 0 here.
Diffstat (limited to 'sys/dev/pci/cz.c')
-rw-r--r-- | sys/dev/pci/cz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/cz.c b/sys/dev/pci/cz.c index afb5d0a676c..b7e695c14e3 100644 --- a/sys/dev/pci/cz.c +++ b/sys/dev/pci/cz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cz.c,v 1.29 2024/05/24 06:02:53 jsg Exp $ */ +/* $OpenBSD: cz.c,v 1.30 2024/11/05 18:58:59 miod Exp $ */ /* $NetBSD: cz.c,v 1.15 2001/01/20 19:10:36 thorpej Exp $ */ /*- @@ -192,7 +192,7 @@ int cztty_to_tiocm(struct cztty_softc *sc); void cztty_diag(void *arg); struct cfdriver cz_cd = { - 0, "cz", DV_TTY + NULL, "cz", DV_TTY }; /* |