diff options
| author | David Malone <dwmalone@FreeBSD.org> | 2000-12-08 21:51:06 +0000 |
|---|---|---|
| committer | David Malone <dwmalone@FreeBSD.org> | 2000-12-08 21:51:06 +0000 |
| commit | 7cc0979fd64b721c92c3dd4a8688b56e15c9a5f9 (patch) | |
| tree | c383ffd6da8fbab2789828310191f8717f675124 /sys/isa/isa_common.c | |
| parent | b1f3daafde37fa36b819c0649c121d98175a6a2d (diff) | |
Notes
Diffstat (limited to 'sys/isa/isa_common.c')
| -rw-r--r-- | sys/isa/isa_common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c index 4334ddff9031..9a761cf0c3bb 100644 --- a/sys/isa/isa_common.c +++ b/sys/isa/isa_common.c @@ -522,10 +522,9 @@ isa_add_child(device_t dev, int order, const char *name, int unit) device_t child; struct isa_device *idev; - idev = malloc(sizeof(struct isa_device), M_ISADEV, M_NOWAIT); + idev = malloc(sizeof(struct isa_device), M_ISADEV, M_NOWAIT | M_ZERO); if (!idev) return 0; - bzero(idev, sizeof *idev); resource_list_init(&idev->id_resources); TAILQ_INIT(&idev->id_configs); |
