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/arch/landisk/dev/obio.c | |
parent | 80a6a180589321a8933ead88fa66f53793ffc19a (diff) |
The first field of struct cfdriver is a pointer. Put NULL rather than 0 here.
Diffstat (limited to 'sys/arch/landisk/dev/obio.c')
-rw-r--r-- | sys/arch/landisk/dev/obio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/landisk/dev/obio.c b/sys/arch/landisk/dev/obio.c index 9733a77c220..43824d2ede0 100644 --- a/sys/arch/landisk/dev/obio.c +++ b/sys/arch/landisk/dev/obio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: obio.c,v 1.11 2022/05/10 18:04:50 kettenis Exp $ */ +/* $OpenBSD: obio.c,v 1.12 2024/11/05 18:58:59 miod Exp $ */ /* $NetBSD: obio.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /*- @@ -57,7 +57,7 @@ const struct cfattach obio_ca = { }; struct cfdriver obio_cd = { - 0, "obio", DV_DULL + NULL, "obio", DV_DULL }; int |