summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-02 04:53:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:39:46 -0500
commit0a847b4111c6f5979910bba574e8ab1c86deec88 (patch)
tree9a3225c84e3da9379786d5e0e6015e08cda4dd9f /source3
parentd31ee84d888145ca0c89a201befb32def65c5995 (diff)
downloadsamba-0a847b4111c6f5979910bba574e8ab1c86deec88.tar.gz
samba-0a847b4111c6f5979910bba574e8ab1c86deec88.tar.bz2
samba-0a847b4111c6f5979910bba574e8ab1c86deec88.zip
r18002: Improved debug.
Jeremy. (This used to be commit 5f84c8c815ff0c941ef06d682dcc4be52e8867d2)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/kerberos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index fa07602c58..1d44c28a3c 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -552,7 +552,8 @@ BOOL create_local_private_krb5_conf_for_domain(const char *realm, const char *do
ret = x_fwrite(file_contents, 1, flen, xfp);
if (flen != ret) {
DEBUG(0,("create_local_private_krb5_conf_for_domain: x_fwrite failed,"
- " returned %u. Errno %s\n", (unsigned int)ret, strerror(errno) ));
+ " returned %u (should be %u). Errno %s\n",
+ (unsigned int)ret, (unsigned int)flen, strerror(errno) ));
unlink(fname);
x_fclose(xfp);
TALLOC_FREE(dname);