summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-01-30 10:22:05 +0000
committerbde <bde@FreeBSD.org>2002-01-30 10:22:05 +0000
commita348e6b305f6c14c898769bd1656afc53b3fea9a (patch)
tree5370d40773a8f196eaeebf686b942bab141b5d66 /sys
parentacdb1166c11e90f378d1762964dd5045d1ed2d86 (diff)
downloadFreeBSD-src-a348e6b305f6c14c898769bd1656afc53b3fea9a.zip
FreeBSD-src-a348e6b305f6c14c898769bd1656afc53b3fea9a.tar.gz
Escape $FreeBSD$ in a different way to avoid using the bogus escapes \$
and \F. Awk just started warning about these.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/makesyscalls.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index 0bb801f..8e4bcc3 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -75,24 +75,24 @@ s/\$//g
printf "/*\n * System call switch table.\n *\n" > syssw
printf " * DO NOT EDIT-- this file is automatically generated.\n" > syssw
- printf " * \$\FreeBSD\$\n" > syssw
+ printf " * $%s$\n", "FreeBSD" > syssw
printf "/*\n * System call prototypes.\n *\n" > sysarg
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysarg
- printf " * \$\FreeBSD\$\n" > sysarg
+ printf " * $%s$\n", "FreeBSD" > sysarg
printf "\n#ifdef %s\n\n", compat > syscompat
printf "/*\n * System call names.\n *\n" > sysnames
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysnames
- printf " * \$\FreeBSD\$\n" > sysnames
+ printf " * $%s$\n", "FreeBSD" > sysnames
printf "/*\n * System call numbers.\n *\n" > syshdr
printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshdr
- printf " * \$\FreeBSD\$\n" > syshdr
+ printf " * $%s$\n", "FreeBSD" > syshdr
printf "# FreeBSD system call names.\n" > sysmk
printf "# DO NOT EDIT-- this file is automatically generated.\n" > sysmk
- printf "# \$\FreeBSD\$\n" > sysmk
+ printf " * $%s$\n", "FreeBSD" > sysmk
}
NR == 1 {
gsub("[$]FreeBSD: ", "", $0)
OpenPOWER on IntegriCloud