mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +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:
parent
6a400cd73a
commit
f4c0028e01
@ -821,7 +821,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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user