[09/16] mem/page-xfer: Add log prefix

Submitted by Cyrill Gorcunov on July 5, 2019, 3:38 p.m.

Details

Message ID 20190705153811.22652-10-gorcunov@gmail.com
State Accepted
Series "mem: Cleanup and fixups"
Headers show

Commit Message

Cyrill Gorcunov July 5, 2019, 3:38 p.m.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 criu/page-xfer.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/criu/page-xfer.c b/criu/page-xfer.c
index 9cdffd8d052b..fe457d20178e 100644
--- a/criu/page-xfer.c
+++ b/criu/page-xfer.c
@@ -7,6 +7,9 @@ 
 #include <sys/wait.h>
 #include <sys/stat.h>
 
+#undef LOG_PREFIX
+#define LOG_PREFIX "page-xfer: "
+
 #include "types.h"
 #include "cr_options.h"
 #include "servicefd.h"

Comments

Mike Rapoport July 8, 2019, 12:44 p.m.
On Fri, Jul 05, 2019 at 06:38:04PM +0300, Cyrill Gorcunov wrote:
> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>

Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>

> ---
>  criu/page-xfer.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/criu/page-xfer.c b/criu/page-xfer.c
> index 9cdffd8d052b..fe457d20178e 100644
> --- a/criu/page-xfer.c
> +++ b/criu/page-xfer.c
> @@ -7,6 +7,9 @@
>  #include <sys/wait.h>
>  #include <sys/stat.h>
>  
> +#undef LOG_PREFIX
> +#define LOG_PREFIX "page-xfer: "
> +
>  #include "types.h"
>  #include "cr_options.h"
>  #include "servicefd.h"
> -- 
> 2.20.1
> 
> _______________________________________________
> CRIU mailing list
> CRIU@openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
>