summaryrefslogtreecommitdiffstats
path: root/src/modules/gconf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-18 21:38:40 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-18 21:38:40 +0000
commite385d93e5aad6a6fce754c00c804ff1d6a6746d4 (patch)
tree0abe352f3228513a912c209f62b0d3e857e62104 /src/modules/gconf
parent1bc62d5ec671bf3edab5263fdc8015c0a701ce81 (diff)
remove all occurences of
pa_logXXX(__FILE__": and replace them by pa_logXXX(" git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/gconf')
-rw-r--r--src/modules/gconf/module-gconf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/gconf/module-gconf.c b/src/modules/gconf/module-gconf.c
index a61295e0..d9f649fd 100644
--- a/src/modules/gconf/module-gconf.c
+++ b/src/modules/gconf/module-gconf.c
@@ -96,7 +96,7 @@ static int fill_buf(struct userdata *u) {
assert(u);
if (u->buf_fill >= BUF_MAX) {
- pa_log(__FILE__": read buffer overflow");
+ pa_log("read buffer overflow");
return -1;
}
@@ -148,7 +148,7 @@ static void unload_one_module(struct userdata *u, struct module_info*m, unsigned
if (m->items[i].index == PA_INVALID_INDEX)
return;
- pa_log_debug(__FILE__": Unloading module #%i", m->items[i].index);
+ pa_log_debug("Unloading module #%i", m->items[i].index);
pa_module_unload_by_index(u->core, m->items[i].index);
m->items[i].index = PA_INVALID_INDEX;
pa_xfree(m->items[i].name);
@@ -192,14 +192,14 @@ static void load_module(
unload_one_module(u, m, i);
}
- pa_log_debug(__FILE__": Loading module '%s' with args '%s' due to GConf configuration.", name, args);
+ pa_log_debug("Loading module '%s' with args '%s' due to GConf configuration.", name, args);
m->items[i].name = pa_xstrdup(name);
m->items[i].args = pa_xstrdup(args);
m->items[i].index = PA_INVALID_INDEX;
if (!(mod = pa_module_load(u->core, name, args))) {
- pa_log(__FILE__": pa_module_load() failed");
+ pa_log("pa_module_load() failed");
return;
}
@@ -308,7 +308,7 @@ static int handle_event(struct userdata *u) {
return ret;
fail:
- pa_log(__FILE__": Unable to read or parse data from client.");
+ pa_log("Unable to read or parse data from client.");
return -1;
}
@@ -337,12 +337,12 @@ static int start_client(const char *n, pid_t *pid) {
int pipe_fds[2] = { -1, -1 };
if (pipe(pipe_fds) < 0) {
- pa_log(__FILE__": pipe() failed: %s", pa_cstrerror(errno));
+ pa_log("pipe() failed: %s", pa_cstrerror(errno));
goto fail;
}
if ((child = fork()) == (pid_t) -1) {
- pa_log(__FILE__": fork() failed: %s", pa_cstrerror(errno));
+ pa_log("fork() failed: %s", pa_cstrerror(errno));
goto fail;
} else if (child != 0) {