Commit f5fcea42 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

eventfd: Add LOG_PREFIX

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 2d42c544
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
#include "protobuf.h" #include "protobuf.h"
#include "protobuf/eventfd.pb-c.h" #include "protobuf/eventfd.pb-c.h"
#undef LOG_PREFIX
#define LOG_PREFIX "eventfd: "
struct eventfd_file_info { struct eventfd_file_info {
EventfdFileEntry *efe; EventfdFileEntry *efe;
struct file_desc d; struct file_desc d;
...@@ -37,7 +40,7 @@ int is_eventfd_link(int lfd) ...@@ -37,7 +40,7 @@ int is_eventfd_link(int lfd)
static void pr_info_eventfd(char *action, EventfdFileEntry *efe) static void pr_info_eventfd(char *action, EventfdFileEntry *efe)
{ {
pr_info("%seventfd: id %#08x flags %#04x counter %#016lx\n", pr_info("%s: id %#08x flags %#04x counter %#016lx\n",
action, efe->id, efe->flags, efe->counter); action, efe->id, efe->flags, efe->counter);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment