From c7d2f6d35a95678c91faf0b5ac7f83bc5d1abfde Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 31 May 2011 16:36:06 -0700 Subject: Remove the char * argument from the SMB_VFS_GETWD() call. Now always returns malloc'ed memory. Autobuild-User: Jeremy Allison Autobuild-Date: Wed Jun 1 04:06:12 CEST 2011 on sn-devel-104 --- examples/VFS/skel_transparent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/VFS/skel_transparent.c') diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index f06e02afe5..7c91a615b1 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -280,9 +280,9 @@ static int skel_chdir(vfs_handle_struct *handle, const char *path) return SMB_VFS_NEXT_CHDIR(handle, path); } -static char *skel_getwd(vfs_handle_struct *handle, char *buf) +static char *skel_getwd(vfs_handle_struct *handle) { - return SMB_VFS_NEXT_GETWD(handle, buf); + return SMB_VFS_NEXT_GETWD(handle); } static int skel_ntimes(vfs_handle_struct *handle, -- cgit