[CRIU] Re: [PATCH 2/2] log: Reset @buf_off on LOG_MSG

Pavel Emelyanov xemul at parallels.com
Thu Nov 1 07:29:23 EDT 2012


On 10/31/2012 06:24 PM, Cyrill Gorcunov wrote:
> 
> Otherwise if there were some error message earlier
> the buf_off set to TS_BUF_OFF and all further pr_msg
> do produce time stamp (which they are should not).
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  log.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 


buf_off should be set up on log init, not on every message print.


More information about the CRIU mailing list