From 584a2d3a2b2046ee6ce30b60dd16675c376ab35c Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sat, 29 Jan 2022 12:41:09 -0600 Subject: [PATCH] krb5: Fix error clobbering in test_cc --- lib/krb5/test_cc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/test_cc.c b/lib/krb5/test_cc.c index b73009f64..751679a23 100644 --- a/lib/krb5/test_cc.c +++ b/lib/krb5/test_cc.c @@ -918,7 +918,7 @@ test_cccol_dcache(krb5_context context) ret = test_cccol(context, dcc, &what); free(dcc); if (ret) - krb5_err(context, 1, errno, "%s", what); + krb5_err(context, 1, ret, "%s", what); } static void