[CRIU] [PATCH] x86/syscalls-x86-64.sh: fix bashisms
Konstantin Khlebnikov
khlebnikov at openvz.org
Mon Dec 24 08:21:25 EST 2012
syscalls-x86-64.sh: 3: syscalls-x86-64.sh: Syntax error: "(" unexpected
Signed-off-by: Konstantin Khlebnikov <khlebnikov at openvz.org>
---
arch/x86/syscalls-x86-64.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/syscalls-x86-64.sh b/arch/x86/syscalls-x86-64.sh
index dd24471..8aafc38 100644
--- a/arch/x86/syscalls-x86-64.sh
+++ b/arch/x86/syscalls-x86-64.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-function gen_asm() {
+gen_asm() {
in=$1
codesout=$2
protosout=$3
@@ -33,7 +33,7 @@ function gen_asm() {
echo "#endif /* $protosdef */" >> $protosout
}
-function gen_exec() {
+gen_exec() {
in=$1
codecout=$2
More information about the CRIU
mailing list