[CRIU] [PATCH] files: Print resource IDs in hex format
Pavel Emelyanov
xemul at parallels.com
Tue Apr 9 17:23:34 EDT 2013
On 04/05/2013 04:06 PM, Cyrill Gorcunov wrote:
> We usually print resources IDs in hex format,
> so fix the places where we don't (it confuses
> otherwise).
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
> files.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/files.c b/files.c
> index 2de7eb0..8bd925c 100644
> --- a/files.c
> +++ b/files.c
> @@ -381,7 +381,7 @@ static int collect_fd(int pid, FdinfoEntry *e, struct rst_info *rst_info)
>
> fdesc = find_file_desc(e);
> if (fdesc == NULL) {
> - pr_err("No file for fd %d id %d\n", e->fd, e->id);
> + pr_err("No file for fd %d id %#x\n", e->fd, e->id);
> return -1;
> }
>
>
applied
More information about the CRIU
mailing list