diff options
author | sam <sam@FreeBSD.org> | 2008-10-14 16:27:52 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-10-14 16:27:52 +0000 |
commit | fdfb3870dc8d84203890d73ec2c504fc202b4e1d (patch) | |
tree | 3de9b8d63009328e3dfe412ae7a3965c0353af8c /sys/arm | |
parent | aa0334ca2fc60fb4acf24b9dd990ca4ec46caa44 (diff) | |
download | FreeBSD-src-fdfb3870dc8d84203890d73ec2c504fc202b4e1d.zip FreeBSD-src-fdfb3870dc8d84203890d73ec2c504fc202b4e1d.tar.gz |
correct sizeof calculation
PR: arm/128095
Submitted by: Henning Petersen
MFC after: 1 week
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/xscale/ixp425/if_npe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/xscale/ixp425/if_npe.c b/sys/arm/xscale/ixp425/if_npe.c index 44954f9..02af22f 100644 --- a/sys/arm/xscale/ixp425/if_npe.c +++ b/sys/arm/xscale/ixp425/if_npe.c @@ -448,7 +448,7 @@ npe_dma_setup(struct npe_softc *sc, struct npedma *dma, { int error, i; - memset(dma, 0, sizeof(dma)); + memset(dma, 0, sizeof(*dma)); dma->name = name; dma->nbuf = nbuf; |