krb5: Fix error clobbering in test_cc

This commit is contained in:
Nicolas Williams
2022-01-29 12:41:09 -06:00
parent f06657ff64
commit 584a2d3a2b

View File

@@ -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