Skip to content

Commit

Permalink
fix small syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
huajingyun01 committed Apr 11, 2024
1 parent 47ca644 commit f3b0d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch-gperf-generate
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sys_csv_tmp=$(mktemp -t generate_syscalls_XXXXXX)
# filter and prepare the syscall csv file
cat $sys_csv | grep -v '^#' | nl -ba -s, -v0 | \
sed -e '{s|^[[:space:]]\+\([0-9]\+\),\([^,]\+\),\(.*\)|\2,\1,\3|;};' \
-e '{:r1; {s|\([^,]\+\)\(.*\)[^_]PNR|\1\2,__PNR_\1|g;}; t r1};' \
-e '{:r1; {s|\([^,]\+\)\(.*\)[^_]PNR|\1\2,__PNR_\1|g;}; t r1;};' \
-e '{s|,KV_|,SCMP_KV_|g;};' \
> $sys_csv_tmp
[[ $? -ne 0 ]] && exit 1
Expand Down

0 comments on commit f3b0d60

Please sign in to comment.