From 4a59581a4c95c94d97abc7844a097a356c937f0e Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 20 Jul 2006 13:28:50 +0000 Subject: Fix incorrect call to nonexistant pa_log_warning(). git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1122 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/daemon/daemon-conf.c | 2 +- src/daemon/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/daemon-conf.c b/src/daemon/daemon-conf.c index 7184b2e6..894c0434 100644 --- a/src/daemon/daemon-conf.c +++ b/src/daemon/daemon-conf.c @@ -220,7 +220,7 @@ static int parse_rlimit(const char *filename, unsigned line, const char *lvalue, r->value = k >= 0 ? (rlim_t) k : 0; } #else - pa_log_warning(__FILE__": [%s:%u] rlimit not supported on this platform.", filename, line); + pa_log_warn(__FILE__": [%s:%u] rlimit not supported on this platform.", filename, line); #endif return 0; diff --git a/src/daemon/main.c b/src/daemon/main.c index d578f508..3ced3bf6 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -437,7 +437,7 @@ int main(int argc, char *argv[]) { } if (real_root && !conf->system_instance) { - pa_log_warning(__FILE__": This program is not intended to be run as root (unless --system is specified)."); + pa_log_warn(__FILE__": This program is not intended to be run as root (unless --system is specified)."); } else if (!real_root && conf->system_instance) { pa_log(__FILE__": Root priviliges required."); goto finish; -- cgit