commit:     efc6caa0b7eb4fce2d955ae255f449e0cdcf51b4
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 10 07:07:10 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 07:07:10 2021 +0000
URL:        https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=efc6caa0

seccomp-bpf: fix warnings by not using nexted open comments

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 seccomp-bpf.c | 5 +++--
 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__)

Reply via email to