summary refs log tree commit diff stats
path: root/scripts/gensyscalls.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gensyscalls.sh')
-rwxr-xr-xscripts/gensyscalls.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/gensyscalls.sh b/scripts/gensyscalls.sh
index b7b8456f63..bba9fb052c 100755
--- a/scripts/gensyscalls.sh
+++ b/scripts/gensyscalls.sh
@@ -86,8 +86,7 @@ generate_syscall_nr()
     read_includes $arch $bits | filter_defines | rename_defines | \
                                 evaluate_values | sort -n -k 3
     echo
-    echo "#endif /* ${guard} */"
-    echo) > "$file"
+    echo "#endif /* ${guard} */") > "$file"
 }
 
 mkdir "$TMP/asm"