diff options
author | Matt Jacob <mjacob@FreeBSD.org> | 2007-06-10 15:46:34 +0000 |
---|---|---|
committer | Matt Jacob <mjacob@FreeBSD.org> | 2007-06-10 15:46:34 +0000 |
commit | adb0d36d03f59f2912180fd5c77ce7277ec6b290 (patch) | |
tree | 89abbdd505ddff8ff7d60f552eb2f0caca5391a7 /sys | |
parent | 471f8f34b512a3b73785cca4bf246368bdedc449 (diff) | |
download | src-adb0d36d03f59f2912180fd5c77ce7277ec6b290.tar.gz src-adb0d36d03f59f2912180fd5c77ce7277ec6b290.zip |
Cast len to be a uintmax_t and make format in KASSERT match so as
to avoid different sizes on different platforms types of complaints.
Reviewed by: Ariff
Notes
Notes:
svn path=/head/; revision=170505
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pcm/dsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c index 90453c181f59..93ba6a48e985 100644 --- a/sys/dev/sound/pcm/dsp.c +++ b/sys/dev/sound/pcm/dsp.c @@ -1841,7 +1841,8 @@ dsp_unit2name(char *buf, size_t len, int unit) { int i, dtype; - KASSERT(buf != NULL && len != 0, ("bogus buf=%p len=%u", buf, len)); + KASSERT(buf != NULL && len != 0, + ("bogus buf=%p len=%ju", buf, (uintmax_t)len)); dtype = snd_unit2d(unit); |