]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Mon, 22 Jun 2020 12:43:34 +0000 (08:43 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 22 Jun 2020 12:43:34 +0000 (08:43 -0400)
src/modules/rlm_unix/rlm_unix.c

index 3e1eaccc41d9d4376822698caed6ea3a1169b7ee..bc80c72ea3e203705c5b78784c2248afa8498f05 100644 (file)
@@ -169,7 +169,7 @@ static int mod_bootstrap(void *instance, CONF_SECTION *conf)
                }
        } else {
                int rcode;
-               char *unix_group = talloc_asprintf(inst, "%-Unix-Group", inst->name);
+               char *unix_group = talloc_asprintf(inst, "%s-Unix-Group", inst->name);
 
                if (paircmp_register_by_name(unix_group, attr_user_name, false, groupcmp, inst) < 0) {
                        PERROR("Failed registering %s", unix_group);