Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Fix a debugging message
details: https://anonhg.NetBSD.org/src/rev/2e1357a8ea3d
branches: trunk
changeset: 353468:2e1357a8ea3d
user: martin <martin%NetBSD.org@localhost>
date: Mon May 08 07:31:34 2017 +0000
description:
Fix a debugging message
diffstat:
sys/dev/audio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 42208550c2f9 -r 2e1357a8ea3d sys/dev/audio.c
--- a/sys/dev/audio.c Mon May 08 06:39:23 2017 +0000
+++ b/sys/dev/audio.c Mon May 08 07:31:34 2017 +0000
@@ -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 <nathanialsloss%yahoo.com.au@localhost>
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index