Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/video.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/video.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.19 retrieving revision 1.19.2.2 diff -u -p -r1.19 -r1.19.2.2 --- src/sys/dev/video.c 2009/01/20 20:18:28 1.19 +++ src/sys/dev/video.c 2009/07/23 23:31:45 1.19.2.2 @@ -1,4 +1,4 @@ -/* $NetBSD: video.c,v 1.19 2009/01/20 20:18:28 drochner Exp $ */ +/* $NetBSD: video.c,v 1.19.2.2 2009/07/23 23:31:45 jym Exp $ */ /* * Copyright (c) 2008 Patrick Mahoney @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: video.c,v 1.19 2009/01/20 20:18:28 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: video.c,v 1.19.2.2 2009/07/23 23:31:45 jym Exp $"); #include "video.h" #if NVIDEO > 0 @@ -760,7 +760,7 @@ video_set_format(struct video_softc *sc, int err; hw = sc->hw_if; - if (hw->get_format == NULL) + if (hw->set_format == NULL) return ENOTTY; v4l2_format_to_video_format(fmt, &vfmt); @@ -1895,7 +1895,7 @@ video_stream_write(struct video_stream * } else { DPRINTF(("video_stream_write: failed to init scatter io " "vb=%p buf=%p " - "buf->m.offset=%d buf->bytesused=%zu " + "buf->m.offset=%d buf->bytesused=%u " "payload->size=%zu\n", vb, buf, buf->m.offset, buf->bytesused, payload->size));