aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindfs.c')
-rw-r--r--src/bindfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bindfs.c b/src/bindfs.c
index b38e598..af3763c 100644
--- a/src/bindfs.c
+++ b/src/bindfs.c
@@ -1668,12 +1668,12 @@ static int parse_user_map(UserMap *map, UserMap *reverse_map, char *spec)
}
*q = '\0';
if (!group_gid(tmpstr + 1, &gid_from)) {
- fprintf(stderr, "Invalid group: %s\n", tmpstr);
+ fprintf(stderr, "Invalid group: %s\n", tmpstr + 1);
goto fail;
}
q += strlen("/@");
if (!group_gid(q, &gid_to)) {
- fprintf(stderr, "Invalid group: %s\n", tmpstr);
+ fprintf(stderr, "Invalid group: %s\n", q);
goto fail;
}
@@ -1702,7 +1702,7 @@ static int parse_user_map(UserMap *map, UserMap *reverse_map, char *spec)
}
q += strlen("/");
if (!user_uid(q, &uid_to)) {
- fprintf(stderr, "Invalid username: %s\n", tmpstr);
+ fprintf(stderr, "Invalid username: %s\n", q);
goto fail;
}