summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-09-24 14:18:42 -0700
committerVolker Lendecke <vl@samba.org>2012-09-25 22:41:51 +0200
commit0feb341502ee5ff1f7d6cff41496a99ba47280d2 (patch)
treedea5a3306c12232f9b9877edde1633c91dcc7ceb
parent809004689a5ec60066d1ae26e9599ec09895c46c (diff)
downloadsamba-0feb341502ee5ff1f7d6cff41496a99ba47280d2.tar.gz
samba-0feb341502ee5ff1f7d6cff41496a99ba47280d2.tar.bz2
samba-0feb341502ee5ff1f7d6cff41496a99ba47280d2.zip
pysmbd: Fix cut&paste errors
-rw-r--r--source3/smbd/pysmbd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c
index 9b9b358cd2..87b3f85e5f 100644
--- a/source3/smbd/pysmbd.c
+++ b/source3/smbd/pysmbd.c
@@ -51,7 +51,7 @@ static NTSTATUS set_sys_acl_no_snum(const char *fname,
}
if (!(conn->params = talloc(conn, struct share_params))) {
- DEBUG(0,("get_nt_acl_no_snum: talloc() failed!\n"));
+ DEBUG(0,("set_sys_acl_no_snum: talloc() failed!\n"));
TALLOC_FREE(conn);
return NT_STATUS_NO_MEMORY;
}
@@ -65,7 +65,8 @@ static NTSTATUS set_sys_acl_no_snum(const char *fname,
ret = SMB_VFS_SYS_ACL_SET_FILE( conn, fname, acltype, theacl);
if (ret != 0) {
status = map_nt_error_from_unix_common(ret);
- DEBUG(0,("set_nt_acl_no_snum: fset_nt_acl returned zero.\n"));
+ DEBUG(0,("set_sys_acl_no_snum: SMB_VFS_SYS_ACL_SET_FILE "
+ "returned zero.\n"));
}
conn_free(conn);