Fix incorrect call to nonexistant pa_log_warning().
authorPierre Ossman <ossman@cendio.se>
Thu, 20 Jul 2006 13:28:50 +0000 (13:28 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 20 Jul 2006 13:28:50 +0000 (13:28 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1122 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/daemon/daemon-conf.c
src/daemon/main.c

index 7184b2e..894c043 100644 (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;
index d578f50..3ced3bf 100644 (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;