checksyscalls: fix "here document" handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 25 Sep 2012 00:17:33 +0000 (17:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 Sep 2012 15:59:21 +0000 (08:59 -0700)
commit0e75898fe2499ece0ac3f1475982a828b3283b0d
tree828d3a45bb72baaa1e1478ddcb1dea761731a21d
parenta140b98dcd9843f2e21091f2b64f10905150be16
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 <heiko.carstens@de.ibm.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: H. Peter Anvin <hpa@linux.intel.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checksyscalls.sh