aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-07-19 12:15:16 +0200
committerAndreas Schneider <asn@samba.org>2017-07-21 17:19:31 +0200
commitf1d03308d84944914318053314112cdfcc6222da (patch)
tree14b3384fca687db3fc36d5feefeb9f91e0b4a5dc
parent61139e06f4479d41bed166a0b2b6185d50a11dd3 (diff)
downloaduid_wrapper-f1d03308d84944914318053314112cdfcc6222da.tar.gz
uid_wrapper-f1d03308d84944914318053314112cdfcc6222da.tar.xz
uid_wrapper-f1d03308d84944914318053314112cdfcc6222da.zip
uwrap: Fix two error messages
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--src/uid_wrapper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uid_wrapper.c b/src/uid_wrapper.c
index 8ed717c..cdc725c 100644
--- a/src/uid_wrapper.c
+++ b/src/uid_wrapper.c
@@ -851,7 +851,7 @@ static void uwrap_export_ids(struct uwrap_thread *id)
if (id->ngroups > GROUP_MAX_COUNT) {
UWRAP_LOG(UWRAP_LOG_ERROR,
"ERROR: Number of groups (%u) exceeds maximum value "
- "uid_wrapper will handle (%u).",
+ "uid_wrapper can handle (%u).",
id->ngroups,
GROUP_MAX_COUNT);
exit(-1);
@@ -1050,8 +1050,8 @@ static void uwrap_init_env(struct uwrap_thread *id)
if (i != ngroups) {
UWRAP_LOG(UWRAP_LOG_ERROR,
"ERROR: The number of groups (%u) passed, "
- "does not the number of groups (%u) we "
- "parsed",
+ "does not match the number of groups (%u) "
+ "we parsed.",
ngroups,
i);
exit(-1);