Date: Thu, 24 Oct 2024 12:57:24 GMT From: Christos Margiolis <christos@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b1bb6934bb87 - main - sound: Fix build error in chm_mkname() KASSERT Message-ID: <202410241257.49OCvOkB019944@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=b1bb6934bb8774dd96be76d88e6824e49b613549 commit b1bb6934bb8774dd96be76d88e6824e49b613549 Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2024-10-24 12:57:19 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2024-10-24 12:57:19 +0000 sound: Fix build error in chm_mkname() KASSERT Sponsored by: The FreeBSD Foundation MFC after: 2 days --- sys/dev/sound/pcm/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c index b1d3ebc0d0f7..7bcd841d541f 100644 --- a/sys/dev/sound/pcm/channel.c +++ b/sys/dev/sound/pcm/channel.c @@ -1181,7 +1181,7 @@ chn_mkname(char *buf, size_t len, struct pcm_channel *c) const char *str; KASSERT(buf != NULL && len != 0, - ("%s(): bogus buf=%p len=%lu", __func__, buf, len)); + ("%s(): bogus buf=%p len=%zu", __func__, buf, len)); switch (c->type) { case PCMDIR_PLAY:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410241257.49OCvOkB019944>