Module Name: src Committed By: martin Date: Mon May 8 07:31:34 UTC 2017
Modified Files: src/sys/dev: audio.c Log Message: Fix a debugging message To generate a diff of this commit: cvs rdiff -u -r1.336 -r1.337 src/sys/dev/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/audio.c diff -u src/sys/dev/audio.c:1.336 src/sys/dev/audio.c:1.337 --- src/sys/dev/audio.c:1.336 Sun May 7 08:19:39 2017 +++ src/sys/dev/audio.c Mon May 8 07:31:34 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: audio.c,v 1.336 2017/05/07 08:19:39 nat Exp $ */ +/* $NetBSD: audio.c,v 1.337 2017/05/08 07:31:34 martin Exp $ */ /*- * Copyright (c) 2016 Nathanial Sloss <nathanialsl...@yahoo.com.au> @@ -148,7 +148,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.336 2017/05/07 08:19:39 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.337 2017/05/08 07:31:34 martin Exp $"); #include "audio.h" #if NAUDIO > 0 @@ -3403,7 +3403,7 @@ audio_mmap(struct audio_softc *sc, off_t if (sc->hw_if == NULL) return ENXIO; - DPRINTF(("audio_mmap: off=%lld, prot=%d\n", (long long)off, prot)); + DPRINTF(("audio_mmap: off=%lld, prot=%d\n", (long long)(*offp), prot)); if (!(audio_get_props(sc) & AUDIO_PROP_MMAP)) return ENOTSUP;