diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-03-31 23:08:01 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-03-31 23:08:01 +0000 |
commit | ecf643966111387953cbfd0bce7f39b6c3d8116a (patch) | |
tree | 42ee50476576392c97ced9785ab2786958f94c71 /src/utils | |
parent | 106ddb9211a98dec764ca45ca02b46c31354e631 (diff) |
catch up with trunk HEAD (i.e. 2118:2213)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2214 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/pactl.c | 2 | ||||
-rw-r--r-- | src/utils/padsp.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/utils/pactl.c b/src/utils/pactl.c index 4381d9d2..674eaee6 100644 --- a/src/utils/pactl.c +++ b/src/utils/pactl.c @@ -486,7 +486,7 @@ static void get_autoload_info_callback(pa_context *c, const pa_autoload_info *i, i->name, i->type == PA_AUTOLOAD_SINK ? "sink" : "source", i->module, - i->argument); + i->argument ? i->argument : ""); } static void simple_callback(pa_context *c, int success, void *userdata) { diff --git a/src/utils/padsp.c b/src/utils/padsp.c index cb57ff8a..d3f034d0 100644 --- a/src/utils/padsp.c +++ b/src/utils/padsp.c @@ -2307,7 +2307,11 @@ fail: return ret; } +#ifdef sun +int ioctl(int fd, int request, ...) { +#else int ioctl(int fd, unsigned long request, ...) { +#endif fd_info *i; va_list args; void *argp; |