diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-08-24 17:55:02 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-08-24 17:55:02 +0000 |
commit | 221d011162edb21641a64b067a5496340fd4186d (patch) | |
tree | b8434fab9f40623eb03a56efd5c409cfc39b1ed6 | |
parent | 88fd5888eb8838dfa650e96fcef5d19531f9d726 (diff) |
Specify proper size for device softc.
-rw-r--r-- | sys/arch/socppc/dev/wdc_obio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/dev/wdc_obio.c b/sys/arch/socppc/dev/wdc_obio.c index ffe4c10e859..03ad5921e94 100644 --- a/sys/arch/socppc/dev/wdc_obio.c +++ b/sys/arch/socppc/dev/wdc_obio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc_obio.c,v 1.1 2009/08/24 17:48:14 kettenis Exp $ */ +/* $OpenBSD: wdc_obio.c,v 1.2 2009/08/24 17:55:01 kettenis Exp $ */ /* * Copyright (c) 2009 Mark Kettenis @@ -43,7 +43,7 @@ int wdc_obio_match(struct device *, void *, void *); void wdc_obio_attach(struct device *, struct device *, void *); struct cfattach wdc_obio_ca = { - sizeof(struct wdc_softc), wdc_obio_match, wdc_obio_attach + sizeof(struct wdc_obio_softc), wdc_obio_match, wdc_obio_attach }; /* |