From: Heiko Carstens Date: Thu, 13 Sep 2012 00:58:20 +0000 (+1000) Subject: checksyscalls: fix "here document" handling X-Git-Tag: next-20120917~4^2~254 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aeb2bc42e6ab43047db66e4aa5d0f5b98768ffe5;p=karo-tx-linux.git checksyscalls: fix "here document" handling "echo" doesn't read from stdin, therefore the checksyscalls script didn't warn about not implemented system calls anymore since 29dc54c6 "checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source". Use "cat" instead of "echo" which handles this correctly. Signed-off-by: Heiko Carstens Cc: Michal Marek Cc: H. Peter Anvin Cc: Cyrill Gorcunov Signed-off-by: Andrew Morton --- diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index d24810fc6af6..fd8fa9aa7c4e 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -200,7 +200,7 @@ EOF syscall_list() { grep '^[0-9]' "$1" | sort -n | ( while read nr abi name entry ; do - echo <