summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sss_client/autofs/sss_autofs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sss_client/autofs/sss_autofs.c b/src/sss_client/autofs/sss_autofs.c
index 435cafe2..56a62b3f 100644
--- a/src/sss_client/autofs/sss_autofs.c
+++ b/src/sss_client/autofs/sss_autofs.c
@@ -20,6 +20,7 @@
#include <errno.h>
#include <stdlib.h>
+#include <stdio.h>
#include "sss_client/autofs/sss_autofs_private.h"
#include "sss_client/sss_cli.h"
@@ -223,6 +224,8 @@ sss_getautomntent_data_save(const char *mapname, uint8_t **repbuf, size_t replen
rp = 0;
SAFEALIGN_COPY_UINT32(&num, *repbuf+rp, &rp);
+ fprintf(stderr, "Map %s, got %u entries, reply length %uB\n",
+ mapname, num, (uint32_t)replen);
if (num == 0) {
free(*repbuf);
return ENOENT;