projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1380f18
)
hal: check properly for failure of libhal_find_device_by_capability() (llvm-clang...
author
Lennart Poettering
<lennart@poettering.net>
Tue, 8 Sep 2009 21:48:47 +0000
(23:48 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 8 Sep 2009 21:48:47 +0000
(23:48 +0200)
src/modules/hal-util.c
patch
|
blob
|
history
diff --git
a/src/modules/hal-util.c
b/src/modules/hal-util.c
index
e2a2d8d
..
2d59f51
100644
(file)
--- a/
src/modules/hal-util.c
+++ b/
src/modules/hal-util.c
@@
-65,7
+65,7
@@
int pa_hal_get_info(pa_core *core, pa_proplist *p, int card) {
goto finish;
}
- if (!(udis = libhal_find_device_by_capability(hal, "sound", &n, &error))
< 0
) {
+ if (!(udis = libhal_find_device_by_capability(hal, "sound", &n, &error))) {
pa_log_error("Couldn't find devices: %s: %s", error.name, error.message);
goto finish;
}