diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-09-07 19:06:44 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-09-07 19:06:44 +0000 |
commit | 29fe4d30cc579413ebfdcd44d778e22964639d87 (patch) | |
tree | fe29ceab79ee26c6b8e39f0bf9d4b6ca459de8a1 /sys/dev/usb | |
parent | a69d6b71f69b12c01a1ed0990c5f18cdb5b27483 (diff) |
sizeof ptr vs sizeof *ptr bug; ok mglocker@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/uvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c index b24a3c0494a..dbff13eb034 100644 --- a/sys/dev/usb/uvideo.c +++ b/sys/dev/usb/uvideo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.c,v 1.126 2009/06/28 17:01:17 mglocker Exp $ */ +/* $OpenBSD: uvideo.c,v 1.127 2009/09/07 19:06:43 miod Exp $ */ /* * Copyright (c) 2008 Robert Nagy <robert@openbsd.org> @@ -2647,7 +2647,7 @@ uvideo_querycap(void *v, struct v4l2_capability *caps) { struct uvideo_softc *sc = v; - bzero(caps, sizeof(caps)); + bzero(caps, sizeof(*caps)); strlcpy(caps->driver, DEVNAME(sc), sizeof(caps->driver)); strlcpy(caps->card, "Generic USB video class device", sizeof(caps->card)); |