[CRIU] [PATCH 8/8] criu: Add loglevel mappings for libsoccr
    Dmitry Safonov 
    0x7f454c46 at gmail.com
       
    Wed Nov  1 16:45:15 MSK 2017
    
    
  
2017-11-01 13:19 GMT+00:00 Cyrill Gorcunov <gorcunov at openvz.org>:
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  criu/crtools.c | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/criu/crtools.c b/criu/crtools.c
> index b4cdf903814b..9f9a69fa6ed9 100644
> --- a/criu/crtools.c
> +++ b/criu/crtools.c
> @@ -416,6 +416,11 @@ int main(int argc, char *argv[], char *envp[])
>         int log_level = DEFAULT_LOGLEVEL;
>         char *imgs_dir = ".";
>
> +       unsigned int libsoccr_log_level_map[] = {
> +               [SOCCR_LOG_ERR] = LOG_DEBUG,
> +               [SOCCR_LOG_DBG] = LOG_ERROR,
On the first sight, something looks wrong here ;-)
-- 
             Dmitry
    
    
More information about the CRIU
mailing list