[pulseaudio-discuss] [PATCH resend] core: fix return of pa_cpu_init_arm() and log message

Peter Meerwald pmeerw at pmeerw.net
Sun Jan 8 02:13:39 PST 2012


From: Peter Meerwald <p.meerwald at bct-electronic.com>

---
 src/pulsecore/cpu-arm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pulsecore/cpu-arm.c b/src/pulsecore/cpu-arm.c
index 078fb04..9c654a3 100644
--- a/src/pulsecore/cpu-arm.c
+++ b/src/pulsecore/cpu-arm.c
@@ -89,7 +89,7 @@ pa_bool_t pa_cpu_init_arm(pa_cpu_arm_flag_t *flags) {
      * space support to get the CPU features. This only works on linux AFAIK. */
     if (!(cpuinfo = get_cpuinfo())) {
         pa_log("Can't read cpuinfo");
-        return;
+        return FALSE;
     }
 
     *flags = 0;
@@ -138,7 +138,7 @@ pa_bool_t pa_cpu_init_arm(pa_cpu_arm_flag_t *flags) {
     return TRUE;
 
 #else /* defined (__linux__) */
-    pa_log ("ARM cpu features not yet supported on this OS");
+    pa_log("Reading ARM CPU features not yet supported on this OS");
 #endif /* defined (__linux__) */
 
 #else /* defined (__arm__) */
-- 
1.7.5.4



More information about the pulseaudio-discuss mailing list