diff options
author | 2006-10-11 20:34:19 +0000 | |
---|---|---|
committer | 2006-10-11 20:34:19 +0000 | |
commit | 0789eb165b7966bbb287486788f9539d255adb10 (patch) | |
tree | 801a06ad3c32e0651e61c21715ee2d14efb6770b | |
parent | more ether_sprintf()'s (diff) | |
download | wireguard-openbsd-0789eb165b7966bbb287486788f9539d255adb10.tar.xz wireguard-openbsd-0789eb165b7966bbb287486788f9539d255adb10.zip |
Oops, wrong size in struct cfattach.
-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 13aa0156a71..4c7208a720d 100644 --- a/sys/arch/landisk/dev/obio.c +++ b/sys/arch/landisk/dev/obio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: obio.c,v 1.1 2006/10/07 20:52:40 miod Exp $ */ +/* $OpenBSD: obio.c,v 1.2 2006/10/11 20:34:19 miod Exp $ */ /* $NetBSD: obio.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /*- @@ -60,7 +60,7 @@ int obio_print(void *, const char *); int obio_search(struct device *, void *, void *); struct cfattach obio_ca = { - sizeof(struct device), obio_match, obio_attach + sizeof(struct obio_softc), obio_match, obio_attach }; struct cfdriver obio_cd = { |