From patchwork Thu Apr 26 20:14:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/9] seccomp: Define log prefix From: Cyrill Gorcunov X-Patchwork-Id: 8128 Message-Id: <20180426201443.2163-3-gorcunov@gmail.com> To: crml Cc: Andrey Vagin Date: Thu, 26 Apr 2018 23:14:36 +0300 For grepability sake in logs. Signed-off-by: Cyrill Gorcunov Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> --- criu/seccomp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/criu/seccomp.c b/criu/seccomp.c index 6416e793c61f..673812b4d2d1 100644 --- a/criu/seccomp.c +++ b/criu/seccomp.c @@ -18,6 +18,9 @@ #include "protobuf.h" #include "images/seccomp.pb-c.h" +#undef LOG_PREFIX +#define LOG_PREFIX "seccomp: " + /* populated on dump during collect_seccomp_filters() */ static int next_filter_id = 0; static struct seccomp_info **filters = NULL;