mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-22 08:56:52 -05:00
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
This commit is contained in:
parent
1bc62d5ec6
commit
e385d93e5a
87 changed files with 714 additions and 714 deletions
|
|
@ -57,7 +57,7 @@ static int detect_alsa(pa_core *c, int just_one) {
|
|||
if (!(f = fopen("/proc/asound/devices", "r"))) {
|
||||
|
||||
if (errno != ENOENT)
|
||||
pa_log_error(__FILE__": open(\"/proc/asound/devices\") failed: %s", pa_cstrerror(errno));
|
||||
pa_log_error("open(\"/proc/asound/devices\") failed: %s", pa_cstrerror(errno));
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
@ -120,7 +120,7 @@ static int detect_oss(pa_core *c, int just_one) {
|
|||
!(f = fopen("/proc/asound/oss/sndstat", "r"))) {
|
||||
|
||||
if (errno != ENOENT)
|
||||
pa_log_error(__FILE__": failed to open OSS sndstat device: %s", pa_cstrerror(errno));
|
||||
pa_log_error("failed to open OSS sndstat device: %s", pa_cstrerror(errno));
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
@ -182,7 +182,7 @@ static int detect_solaris(pa_core *c, int just_one) {
|
|||
|
||||
if (stat(dev, &s) < 0) {
|
||||
if (errno != ENOENT)
|
||||
pa_log_error(__FILE__": failed to open device %s: %s", dev, pa_cstrerror(errno));
|
||||
pa_log_error("failed to open device %s: %s", dev, pa_cstrerror(errno));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
@ -224,12 +224,12 @@ int pa__init(pa_core *c, pa_module*m) {
|
|||
assert(m);
|
||||
|
||||
if (!(ma = pa_modargs_new(m->argument, valid_modargs))) {
|
||||
pa_log(__FILE__": Failed to parse module arguments");
|
||||
pa_log("Failed to parse module arguments");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (pa_modargs_get_value_boolean(ma, "just-one", &just_one) < 0) {
|
||||
pa_log(__FILE__": just_one= expects a boolean argument.");
|
||||
pa_log("just_one= expects a boolean argument.");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
@ -246,11 +246,11 @@ int pa__init(pa_core *c, pa_module*m) {
|
|||
if ((n = detect_waveout(c, just_one)) <= 0)
|
||||
#endif
|
||||
{
|
||||
pa_log_warn(__FILE__": failed to detect any sound hardware.");
|
||||
pa_log_warn("failed to detect any sound hardware.");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
pa_log_info(__FILE__": loaded %i modules.", n);
|
||||
pa_log_info("loaded %i modules.", n);
|
||||
|
||||
/* We were successful and can unload ourselves now. */
|
||||
pa_module_unload_request(m);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue