summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 684b0762..1c54d04c 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;
}