From ca5a88e4624b7222d4e4bbef2713be0dfec23c35 Mon Sep 17 00:00:00 2001 From: parke Date: Mon, 5 Nov 2018 09:39:37 -0800 Subject: [PATCH] xbps-uunshare: Fixed typo in error message: uidmap -> uid_map. Thanks @parke #28 --- bin/xbps-uunshare/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-uunshare/main.c b/bin/xbps-uunshare/main.c index 36e8d39e..720a84f5 100644 --- a/bin/xbps-uunshare/main.c +++ b/bin/xbps-uunshare/main.c @@ -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");