diff --git a/sys/kern/genassym.sh b/sys/kern/genassym.sh index 5c33c6ad42f6..70ad69ebd1d4 100644 --- a/sys/kern/genassym.sh +++ b/sys/kern/genassym.sh @@ -23,7 +23,7 @@ case $# in *) usage;; esac -${NM:='nm'} "$1" | awk ' +${NM:='nm'} "$1" | ${AWK:='awk'} ' / C .*sign$/ { sign = substr($1, length($1) - 3, 4) sub("^0*", "", sign)