aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-21 00:22:58 -0700
committerMattias Andrée <maandree@kth.se>2020-06-21 09:44:02 +0200
commit4314bb01abeb589c90d613f713ae64becf78a68a (patch)
tree7430388f515c2975f91bfd3586e12d36e9cd6064
parentInclude asm/unistd.h for __X32_SYSCALL_BIT (diff)
downloadsctrace-4314bb01abeb589c90d613f713ae64becf78a68a.tar.gz
sctrace-4314bb01abeb589c90d613f713ae64becf78a68a.tar.bz2
sctrace-4314bb01abeb589c90d613f713ae64becf78a68a.tar.xz
Fix typo in list-errnos.h command
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c02102..f157cf9 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ sctrace: $(OBJ)
list-errnos.h:
printf '#define LIST_ERRNOS(_)\\\n\t' > $@
- cat $(ERRNO_HDRS) sed 's/\/\/.*$$//' | tr -d '$$' | sed 's/\*\//\$$/g' | sed 's/\/\*[^$$]*\$$//g' \
+ cat $(ERRNO_HDRS) | sed 's/\/\/.*$$//' | tr -d '$$' | sed 's/\*\//\$$/g' | sed 's/\/\*[^$$]*\$$//g' \
| sed -n '/^[ \t]*#[ \t]*define[ \t].*[ \t][0-9]*[ \t]*$$/s/^[ \t#]*define[ \t]*\([^ \t]*\).*$$/_(\1)/p' \
| sort | uniq | tr '\n' '#' | sed 's/#_/\\\n\t_/g' | tr '#' '\n' >> $@