summaryrefslogtreecommitdiff
path: root/server/providers/krb5/krb5_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/providers/krb5/krb5_common.c')
-rw-r--r--server/providers/krb5/krb5_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/providers/krb5/krb5_common.c b/server/providers/krb5/krb5_common.c
index b1cf4201..86676f44 100644
--- a/server/providers/krb5/krb5_common.c
+++ b/server/providers/krb5/krb5_common.c
@@ -261,7 +261,7 @@ static void krb5_resolve_callback(void *private_data, struct fo_server *server)
return;
}
- address = talloc_asprintf(krb5_service, srvaddr->h_name);
+ address = talloc_asprintf(krb5_service, "%s", srvaddr->h_name);
if (!address) {
DEBUG(1, ("Failed to copy address ...\n"));
return;