diff options
-rw-r--r-- | source3/smbd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 28441c91ab..dee29f4796 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -894,7 +894,7 @@ BOOL reduce_name(connection_struct *conn, const pstring fname) #ifdef PATH_MAX safe_strcpy(resolved_name_buf, tmp_fname, PATH_MAX); #else - pstrcpy(pstring resolved_name_buf, tmp_fname); + pstrcpy(resolved_name_buf, tmp_fname); #endif resolved_name = resolved_name_buf; #endif |