summaryrefslogtreecommitdiffstats
path: root/src/util/authtok.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/authtok.c')
-rw-r--r--src/util/authtok.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/authtok.c b/src/util/authtok.c
index 684b07622..1c54d04cc 100644
--- a/src/util/authtok.c
+++ b/src/util/authtok.c
@@ -101,7 +101,7 @@ static errno_t sss_authtok_set_string(TALLOC_CTX *mem_ctx,
size = len + 1;
- tok->data = talloc_named(mem_ctx, size, context_name);
+ tok->data = talloc_named(mem_ctx, size, "%s", context_name);
if (!tok->data) {
return ENOMEM;
}