dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0067-autofs-fix-typo-in-test-tool.patch

5fca41
From 49ad0b9b84c88d52694c8e9f5582dc49d0f87e2a Mon Sep 17 00:00:00 2001
5fca41
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
5fca41
Date: Mon, 5 Aug 2019 10:21:30 +0200
5fca41
Subject: [PATCH 67/90] autofs: fix typo in test tool
5fca41
MIME-Version: 1.0
5fca41
Content-Type: text/plain; charset=UTF-8
5fca41
Content-Transfer-Encoding: 8bit
5fca41
5fca41
Reviewed-by: Tomáš Halman <thalman@redhat.com>
5fca41
---
5fca41
 src/sss_client/autofs/autofs_test_client.c | 2 +-
5fca41
 1 file changed, 1 insertion(+), 1 deletion(-)
5fca41
5fca41
diff --git a/src/sss_client/autofs/autofs_test_client.c b/src/sss_client/autofs/autofs_test_client.c
5fca41
index f4395ff7c..6bbd2a0e8 100644
5fca41
--- a/src/sss_client/autofs/autofs_test_client.c
5fca41
+++ b/src/sss_client/autofs/autofs_test_client.c
5fca41
@@ -103,7 +103,7 @@ int main(int argc, const char *argv[])
5fca41
         if (ret == ENOENT) {
5fca41
             fprintf(stderr, "no such entry in map\n");
5fca41
         } else if (ret != 0) {
5fca41
-            fprintf(stderr, "getautomntent_r failed [%d]: %s\n",
5fca41
+            fprintf(stderr, "getautomntbyname_r failed [%d]: %s\n",
5fca41
                     ret, strerror(ret));
5fca41
             goto end;
5fca41
         } else {
5fca41
-- 
5fca41
2.20.1
5fca41