diff options
author | Michael Forney <mforney@mforney.org> | 2020-06-21 00:22:58 -0700 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-06-21 09:44:02 +0200 |
commit | 4314bb01abeb589c90d613f713ae64becf78a68a (patch) | |
tree | 7430388f515c2975f91bfd3586e12d36e9cd6064 | |
parent | Include asm/unistd.h for __X32_SYSCALL_BIT (diff) | |
download | sctrace-4314bb01abeb589c90d613f713ae64becf78a68a.tar.gz sctrace-4314bb01abeb589c90d613f713ae64becf78a68a.tar.bz2 sctrace-4314bb01abeb589c90d613f713ae64becf78a68a.tar.xz |
Fix typo in list-errnos.h command
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' >> $@ |