From 71062d4494bbe9c24358e21fa3a40ae747eae0f6 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 27 Jun 2012 19:43:08 -0400 Subject: KRB5_LOCATOR: Print the filename that couldn't be opened --- src/krb5_plugin/sssd_krb5_locator_plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/krb5_plugin/sssd_krb5_locator_plugin.c b/src/krb5_plugin/sssd_krb5_locator_plugin.c index 7ecdb29bd..402fd03e7 100644 --- a/src/krb5_plugin/sssd_krb5_locator_plugin.c +++ b/src/krb5_plugin/sssd_krb5_locator_plugin.c @@ -124,7 +124,8 @@ static int get_krb5info(const char *realm, struct sssd_ctx *ctx, fd = open(krb5info_name, O_RDONLY); if (fd == -1) { - PLUGIN_DEBUG(("open failed [%d][%s].\n", errno, strerror(errno))); + PLUGIN_DEBUG(("open failed [%s][%d][%s].\n", + krb5info_name, errno, strerror(errno))); ret = errno; goto done; } -- cgit