summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-02-27 14:48:42 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-03-01 10:10:21 +0100
commit30c76633788c498b7d34e7e5944a3d36f26ec2db (patch)
treea36aaf29bb51d48cf51510610a95e23d1c946b4b /src
parent96453f402831275a39d5fb89c33c9776e148d03f (diff)
downloadsssd-30c76633788c498b7d34e7e5944a3d36f26ec2db.tar.gz
sssd-30c76633788c498b7d34e7e5944a3d36f26ec2db.tar.xz
sssd-30c76633788c498b7d34e7e5944a3d36f26ec2db.zip
Add debug message to autofs client
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 435cafe23..56a62b3f2 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;