From cf732b4dbb21d38c90af004a3cf93f52b5b9e3fe Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 5 Nov 2024 18:59:00 +0000 Subject: The first field of struct cfdriver is a pointer. Put NULL rather than 0 here. --- sys/dev/pci/cz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/cz.c') 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 }; /* -- cgit v1.2.3