xbps-uunshare: Fixed typo in error message: uidmap -> uid_map.

Thanks @parke #28
This commit is contained in:
parke 2018-11-05 09:39:37 -08:00 committed by Duncaen
parent 456f775e4d
commit ca5a88e462

View File

@ -184,7 +184,7 @@ main(int argc, char **argv)
* Setup uid/gid user mappings and restrict setgroups().
*/
if ((fd = open("/proc/self/uid_map", O_RDWR)) == -1)
die("failed to open /proc/self/uidmap rw");
die("failed to open /proc/self/uid_map rw");
if (write(fd, buf, snprintf(buf, sizeof buf, "%u %u 1\n", uid, uid)) == -1)
die("failed to write to /proc/self/uid_map");