bootconfig: Rename xbc_node_find_child() to xbc_node_find_subkey()
[linux-2.6-microblaze.git] / scripts / coccicheck
index 65fee63..caba0bf 100755 (executable)
@@ -87,7 +87,7 @@ else
     fi
 
     # Use only one thread per core by default if hyperthreading is enabled
-    THREADS_PER_CORE=$(lscpu | grep "Thread(s) per core: " | tr -cd "[:digit:]")
+    THREADS_PER_CORE=$(LANG=C lscpu | grep "Thread(s) per core: " | tr -cd "[:digit:]")
     if [ -z "$J" ]; then
         NPROC=$(getconf _NPROCESSORS_ONLN)
        if [ $THREADS_PER_CORE -gt 1 -a $NPROC -gt 4 ] ; then