diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/krb5/krb5_child.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index 9182f2383..42dffe7b8 100644 --- a/src/providers/krb5/krb5_child.c +++ b/src/providers/krb5/krb5_child.c @@ -1899,7 +1899,7 @@ int main(int argc, const char *argv[]) poptContext pc; int debug_fd = -1; int status; - int ret; + errno_t ret; struct poptOption long_options[] = { POPT_AUTOHELP @@ -1941,6 +1941,7 @@ int main(int argc, const char *argv[]) debug_prg_name = talloc_asprintf(kr, "[sssd[krb5_child[%d]]]", getpid()); if (!debug_prg_name) { DEBUG(SSSDBG_CRIT_FAILURE, ("talloc_asprintf failed.\n")); + ret = ENOMEM; goto done; } |