From 519ea4001c624fefedca394fee486f15695e9683 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 12 Mar 2015 19:05:05 +0100 Subject: [PATCH] xbps-uunshare: fix typo in an error msg (thanks uggedal). --- 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 df75b137..c3be5bef 100644 --- a/bin/xbps-uunshare/main.c +++ b/bin/xbps-uunshare/main.c @@ -156,7 +156,7 @@ main(int argc, char **argv) if ((fd = open("/proc/self/gid_map", O_RDWR)) == -1) die("failed to open /proc/self/gid_map rw"); if (write(fd, buf, snprintf(buf, sizeof buf, "%u %u 1\n", gid, gid)) == -1) - die("failed to write to /proc/self/setgroups"); + die("failed to write to /proc/self/gid_map"); close(fd);