dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone
Blob Blame History Raw
From 90c45ac5b4e67703455b2cf04334ae0fc90188b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
Date: Sat, 15 Aug 2015 13:53:25 +0200
Subject: [PATCH 61/66] sss_override: print input name if unable to parse it

Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
---
 src/tools/sss_override.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tools/sss_override.c b/src/tools/sss_override.c
index 5e901e2e31de64dacb171337defc03d428f8ed57..e84a7b922dfcf179f8010dc4cced0eafd89a2c76 100644
--- a/src/tools/sss_override.c
+++ b/src/tools/sss_override.c
@@ -74,7 +74,7 @@ static int parse_cmdline(struct sss_cmdline *cmdline,
     ret = sss_tool_parse_name(tool_ctx, tool_ctx, input_name,
                               &orig_name, &domain);
     if (ret != EOK) {
-        fprintf(stderr, _("Unable to parse name.\n"));
+        fprintf(stderr, _("Unable to parse name %s.\n"), input_name);
         return ret;
     }
 
-- 
2.4.3