eventfd: Add LOG_PREFIX

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2012-08-20 15:14:43 +04:00 committed by Pavel Emelyanov
parent 2d42c544ae
commit f5fcea4201

View file

@ -24,6 +24,9 @@
#include "protobuf.h"
#include "protobuf/eventfd.pb-c.h"
#undef LOG_PREFIX
#define LOG_PREFIX "eventfd: "
struct eventfd_file_info {
EventfdFileEntry *efe;
struct file_desc d;
@ -37,7 +40,7 @@ int is_eventfd_link(int lfd)
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);
}