mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
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:
parent
2d42c544ae
commit
f5fcea4201
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue