uwrap: Fix two error messages
authorAndreas Schneider <asn@samba.org>
Wed, 19 Jul 2017 10:15:16 +0000 (12:15 +0200)
committerAndreas Schneider <asn@samba.org>
Fri, 21 Jul 2017 15:19:31 +0000 (17:19 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
src/uid_wrapper.c

index 8ed717ca4d1c2752cff3576965e6fc7512462f4b..cdc725c2de3c6f2cbfac0a9d3ca4ea066de55be5 100644 (file)
@@ -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);