mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
userns: print uid-s as unsigned values
Reported-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Andrew Vagin <avagin@virtuozzo.com> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
5940e3d14c
commit
b504dac6bf
@@ -835,7 +835,7 @@ static int write_id_map(pid_t pid, UidGidExtent **extents, int n, char *id_map)
|
||||
*/
|
||||
for (i = 0; i < n; i++)
|
||||
off += snprintf(buf + off, sizeof(buf) - off,
|
||||
"%d %d %d\n", extents[i]->first,
|
||||
"%u %u %u\n", extents[i]->first,
|
||||
extents[i]->lower_first,
|
||||
extents[i]->count);
|
||||
|
||||
|
Reference in New Issue
Block a user