diff options
author | 2021-06-10 08:07:10 +0100 | |
---|---|---|
committer | 2021-06-10 08:07:10 +0100 | |
commit | efc6caa0b7eb4fce2d955ae255f449e0cdcf51b4 (patch) | |
tree | 6b4b49a9c5b75019218d2af99a235a666ef30f1b | |
parent | seccomp: fix build failure on mips (use _MIP_SIM tests) (diff) | |
download | pax-utils-efc6caa0b7eb4fce2d955ae255f449e0cdcf51b4.tar.gz pax-utils-efc6caa0b7eb4fce2d955ae255f449e0cdcf51b4.tar.bz2 pax-utils-efc6caa0b7eb4fce2d955ae255f449e0cdcf51b4.zip |
seccomp-bpf: fix warnings by not using nexted open commentsv1.3.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r-- | seccomp-bpf.c | 5 | ||||
-rw-r--r-- | seccomp-bpf.h | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/seccomp-bpf.c b/seccomp-bpf.c index 8e61f7f..a72f6ef 100644 --- a/seccomp-bpf.c +++ b/seccomp-bpf.c @@ -211,8 +211,9 @@ int main(void) err(1, "seccomp_init failed"); printf("/* AUTO GENERATED FILE. To regenerate run:\n"); - printf("/* $ make seccomp-bpf.h\n"); - printf("/* See seccomp-bpf.c for details. */\n"); + printf(" * $ $EDITOR seccomp-bpf.c\n"); + printf(" * $ make seccomp-bpf.h\n"); + printf(" * See seccomp-bpf.c for details. */\n"); printf("#undef SECCOMP_BPF_AVAILABLE\n"); if (seccomp_arch_remove(ctx, seccomp_arch_native()) < 0) diff --git a/seccomp-bpf.h b/seccomp-bpf.h index 95f5bfb..bb2e9cd 100644 --- a/seccomp-bpf.h +++ b/seccomp-bpf.h @@ -1,6 +1,7 @@ /* AUTO GENERATED FILE. To regenerate run: -/* $ make seccomp-bpf.h -/* See seccomp-bpf.c for details. */ + * $ $EDITOR seccomp-bpf.c + * $ make seccomp-bpf.h + * See seccomp-bpf.c for details. */ #undef SECCOMP_BPF_AVAILABLE #if defined(__aarch64__) |