[PATCH] fix a compile warning

Christian Ambach ambi at samba.org
Sat Dec 7 03:22:36 MST 2013


Hi list,

please review the attached patch that fixes a compile warning that
sneaked in via the recently added compression code.

Cheers,
Christian
-------------- next part --------------
>From 6be3bc601c0850e345e3b05c4a5b5f50e7aa91c8 Mon Sep 17 00:00:00 2001
From: Christian Ambach <ambi at samba.org>
Date: Wed, 4 Dec 2013 22:50:31 +0100
Subject: [PATCH] s3:vfs fix a compile warning

Signed-off-by: Christian Ambach <ambi at samba.org>
---
 source3/modules/vfs_default.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 90c772b..2d49a94 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1492,7 +1492,7 @@ static NTSTATUS vfswrap_copy_chunk_recv(struct vfs_handle_struct *handle,
 static NTSTATUS vfswrap_get_compression(struct vfs_handle_struct *handle,
 					TALLOC_CTX *mem_ctx,
 					struct files_struct *fsp,
-					struct smb_fname *smb_fname,
+					struct smb_filename *smb_fname,
 					uint16_t *_compression_fmt)
 {
 	return NT_STATUS_INVALID_DEVICE_REQUEST;
-- 
1.8.1.2



More information about the samba-technical mailing list