summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-07-20 13:28:50 +0000
committerPierre Ossman <ossman@cendio.se>2006-07-20 13:28:50 +0000
commit4a59581a4c95c94d97abc7844a097a356c937f0e (patch)
tree176fa62bb5ba608900a254bae2f9daf1e28b085e
parent0762af2aeed6f590bf5833128185adf902eac0cf (diff)
Fix incorrect call to nonexistant pa_log_warning().
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1122 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/daemon/daemon-conf.c2
-rw-r--r--src/daemon/main.c2
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;