ptrace_attach: fix possible deadlock schenario with irqs
[pandora-kernel.git] / kernel / params.c
index 9de637a..af43ecd 100644 (file)
@@ -31,7 +31,7 @@
 #define DEBUGP(fmt, a...)
 #endif
 
-static inline int dash2underscore(char c)
+static inline char dash2underscore(char c)
 {
        if (c == '-')
                return '_';