diff options
| author | 2006-01-05 10:43:15 +0000 | |
|---|---|---|
| committer | 2006-01-05 10:43:15 +0000 | |
| commit | f57d9f10ab2820f81f5322e8f2dcdb5ee788fbcf (patch) | |
| tree | db4af8493b6a4b094616ce9ffc2c7bc31248316c /sys/dev/pci/amdpm.c | |
| parent | cleanup, move log.h and rcs.h inclusion into rcsprog.h; (diff) | |
| download | wireguard-openbsd-f57d9f10ab2820f81f5322e8f2dcdb5ee788fbcf.tar.xz wireguard-openbsd-f57d9f10ab2820f81f5322e8f2dcdb5ee788fbcf.zip | |
knf
Diffstat (limited to 'sys/dev/pci/amdpm.c')
| -rw-r--r-- | sys/dev/pci/amdpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/amdpm.c b/sys/dev/pci/amdpm.c index ce7056ecbda..1f2bc20f190 100644 --- a/sys/dev/pci/amdpm.c +++ b/sys/dev/pci/amdpm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amdpm.c,v 1.8 2006/01/05 08:57:27 grange Exp $ */ +/* $OpenBSD: amdpm.c,v 1.9 2006/01/05 10:43:15 grange Exp $ */ /* * Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org> @@ -249,7 +249,7 @@ amdpm_attach(struct device *parent, struct device *self, void *aux) sc->sc_i2c_tag.ic_release_bus = amdpm_i2c_release_bus; sc->sc_i2c_tag.ic_exec = amdpm_i2c_exec; - bzero(&iba, sizeof iba); + bzero(&iba, sizeof(iba)); iba.iba_name = "iic"; iba.iba_tag = &sc->sc_i2c_tag; config_found(self, &iba, iicbus_print); |
