Commit 805aa366 authored by Felip Moll's avatar Felip Moll Committed by Tim Wickberg
Browse files

Fix error messages in _convert_to_name().

The name variable hasn't been set yet, so this is always NULL. Print the
uid/gid instead. While here, treat uid/gid as uint32_t, and use strtoul()
rather than atoi() to avoid issues with high-number uid/gid values.

Fixes GCC 9 warning.

Bug 7101.
parent 00a87271
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment