summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorDan Sledz <dsledz@isilon.com>2009-02-24 14:12:48 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-02-24 15:53:02 -0800
commit4e024b3f87ee1ccb0d7c83dfc6a4b5a6b2c47c13 (patch)
treec54df94d3bbcbd27e39f53bcf49bc2b04cf95f44 /source3/modules
parent95bf60b39d003bea6f9f5ad2bc63d5f2a8b8b2af (diff)
downloadsamba-4e024b3f87ee1ccb0d7c83dfc6a4b5a6b2c47c13.tar.gz
samba-4e024b3f87ee1ccb0d7c83dfc6a4b5a6b2c47c13.tar.bz2
samba-4e024b3f87ee1ccb0d7c83dfc6a4b5a6b2c47c13.zip
s3: onefs_acl.c cleanup
Remove some duplicate code. Add a \n to a debugging statement
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/onefs_acl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/modules/onefs_acl.c b/source3/modules/onefs_acl.c
index b463722e61..b8097b6455 100644
--- a/source3/modules/onefs_acl.c
+++ b/source3/modules/onefs_acl.c
@@ -273,9 +273,6 @@ onefs_samba_acl_to_acl(SEC_ACL *samba_acl, struct ifs_security_acl **acl,
if (aclu_initialize_acl(acl, aces, num_aces))
goto err_free;
- if (aclu_initialize_acl(acl, aces, num_aces))
- goto err_free;
-
/* Currently aclu_initialize_acl should copy the aces over, allowing
* us to immediately free */
free(aces);
@@ -905,7 +902,7 @@ onefs_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
SNUM(handle->conn));
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(3, ("SD initialization failure: %s", nt_errstr(status)));
+ DEBUG(3, ("SD initialization failure: %s\n", nt_errstr(status)));
goto out;
}