diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-07-13 12:48:41 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-07-13 12:48:41 +0000 |
commit | f1a5a4c9ecdddedd8c08bf94172234f06fdc305f (patch) | |
tree | 9356c594cd9d0bbc35a7ce03d5e7b55715420e25 /sys/dev/usb | |
parent | 73a3f9351a6ccfda0378d23f335adba462c1cd7f (diff) |
Spacing.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/uvideo.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c index b9a420c0126..51bbe4b4bf6 100644 --- a/sys/dev/usb/uvideo.c +++ b/sys/dev/usb/uvideo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.c,v 1.50 2008/07/13 11:49:31 mglocker Exp $ */ +/* $OpenBSD: uvideo.c,v 1.51 2008/07/13 12:48:40 mglocker Exp $ */ /* * Copyright (c) 2008 Robert Nagy <robert@openbsd.org> @@ -620,15 +620,15 @@ int uvideo_vs_parse_desc_format_mjpeg(struct uvideo_softc *sc, const usb_descriptor_t *desc) { - struct usb_video_format_mjpeg_desc *d; + struct usb_video_format_mjpeg_desc *d; - d = (struct usb_video_format_mjpeg_desc *)(uint8_t *)desc; + d = (struct usb_video_format_mjpeg_desc *)(uint8_t *)desc; - if (d->bNumFrameDescriptors == 0) { - printf("%s: no MJPEG frame descriptors found!\n", - DEVNAME(sc)); - return (-1); - } + if (d->bNumFrameDescriptors == 0) { + printf("%s: no MJPEG frame descriptors found!\n", + DEVNAME(sc)); + return (-1); + } if (d->bFormatIndex == UVIDEO_MAX_FORMAT) { printf("%s: too many MJPEG format descriptors found!\n", @@ -640,7 +640,7 @@ uvideo_vs_parse_desc_format_mjpeg(struct uvideo_softc *sc, /* set MJPEG format as default */ sc->sc_fmtgrp_cur = &sc->sc_fmtgrp[d->bFormatIndex]; - return (0); + return (0); } int |