git: b1bb6934bb87 - main - sound: Fix build error in chm_mkname() KASSERT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Oct 2024 12:57:24 UTC
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: