]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: fix syscall names extraction
authorVincent Bernat <vincent@bernat.ch>
Sun, 31 May 2020 05:23:42 +0000 (07:23 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sun, 31 May 2020 05:29:12 +0000 (07:29 +0200)
src/daemon/Makefile.am

index 740a0588da083009af837d7a77ee63e02404c183..3e7644924de22c41729113bce0624906abcb49fb 100644 (file)
@@ -107,7 +107,7 @@ BUILT_SOURCES += syscall-names.h
 CLEANFILES    += syscall-names.h syscall-names.h.tmp
 syscall-names.h:
        $(AM_V_GEN)
-       $(AM_V_at)echo "#include <sys/syscall.h>" | $(CPP) -dM > $@.tmp ;\
+       $(AM_V_at)echo "#include <sys/syscall.h>" | $(CPP) -dM > $@.tmp ;\
        echo "static const char *syscall_names[] = {" > $@ ;\
        grep '^#define __NR_' $@.tmp | \
                LC_ALL=C sed -r -n -e 's/^\#define[ \t]+__NR_([a-z0-9_]+)[ \t]+([0-9]+)(.*)/ [\2] = "\1",/p' >> $@ ;\