mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-23 06:59:53 -05:00
Convert most snprintf() calls to pa_snprintf()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1534 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
8e83838154
commit
929526de33
30 changed files with 79 additions and 67 deletions
|
|
@ -42,6 +42,7 @@
|
|||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/random.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include "shm.h"
|
||||
|
|
@ -53,7 +54,7 @@
|
|||
#define MAX_SHM_SIZE (1024*1024*20)
|
||||
|
||||
static char *segment_name(char *fn, size_t l, unsigned id) {
|
||||
snprintf(fn, l, "/pulse-shm-%u", id);
|
||||
pa_snprintf(fn, l, "/pulse-shm-%u", id);
|
||||
return fn;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue