Fix incorrect call to nonexistant pa_log_warning().

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1122 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-07-20 13:28:50 +00:00
parent 0762af2aee
commit 4a59581a4c
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;