diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-07-25 16:23:03 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-07-25 16:23:03 +0000 |
commit | 929526de33b60ba48e47071be60619616661c97f (patch) | |
tree | 581112fa58632254fc22c69893605fa6d1b815e1 /src/pulse/channelmap.c | |
parent | 8e838381541d090b5bfd0d68acefd2d6676f0d64 (diff) |
Convert most snprintf() calls to pa_snprintf()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1534 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulse/channelmap.c')
-rw-r--r-- | src/pulse/channelmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/channelmap.c b/src/pulse/channelmap.c index d5b8f743..5f1fa95f 100644 --- a/src/pulse/channelmap.c +++ b/src/pulse/channelmap.c @@ -370,7 +370,7 @@ char* pa_channel_map_snprint(char *s, size_t l, const pa_channel_map *map) { *(e = s) = 0; for (channel = 0; channel < map->channels && l > 1; channel++) { - l -= snprintf(e, l, "%s%s", + l -= pa_snprintf(e, l, "%s%s", first ? "" : ",", pa_channel_position_to_string(map->map[channel])); |