summaryrefslogtreecommitdiff
path: root/src/linux/mips/genstub.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/mips/genstub.sh')
-rwxr-xr-xsrc/linux/mips/genstub.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/mips/genstub.sh b/src/linux/mips/genstub.sh
index 02d1b8d35..4c01c0151 100755
--- a/src/linux/mips/genstub.sh
+++ b/src/linux/mips/genstub.sh
@@ -11,5 +11,5 @@ dstdir="$1"; shift
for n; do
in="$srcdir/syscallent-$n.h"
out="$dstdir/syscallent-$n-stub.h"
- sed -r -n '/^#if/,/^#else/ {s/^([^{]*\{[^,]*,[^,]*,[[:space:]]*)[^,[:space:]]+,[[:space:]]*"([^"]+".*)/\1SEN(printargs), SYSCALL_NAME_PREFIX "\2/; s/^\[.*/&/p}' < "$in" > "$out"
+ sed -E -n '/^#if/,/^#else/ {s/^([^{]*\{[^,]*,[^,]*,[[:space:]]*)[^,[:space:]]+,[[:space:]]*"([^"]+".*)/\1SEN(printargs), SYSCALL_NAME_PREFIX "\2/; s/^\[.*/&/p}' < "$in" > "$out"
done