summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-02-04 01:21:52 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-02-04 01:21:52 +0000
commit1fe69a7dd9311e211f05ebba45ec574ded35ca89 (patch)
tree8daea5a493f0ccf319159dac5ab654a7a65b0247 /source3/smbd
parentf24c04fc77370aae1bddb18955fab3b0e8161ad7 (diff)
downloadsamba-1fe69a7dd9311e211f05ebba45ec574ded35ca89.tar.gz
samba-1fe69a7dd9311e211f05ebba45ec574ded35ca89.tar.bz2
samba-1fe69a7dd9311e211f05ebba45ec574ded35ca89.zip
Fixed my stupid typo in earlier fix.
jra@cygnus.com (This used to be commit e9a8ccb36bc94e161fdf85c1de8310937710c92f)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 0146776bbc..5ff60c6c6c 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1163,7 +1163,7 @@ void open_file(int fnum,int cnum,char *fname1,int flags,int mode, struct stat *s
{
Files[fnum].mmap_size = file_size(fname);
Files[fnum].mmap_ptr = (char *)mmap(NULL,Files[fnum].mmap_size,
- PROT_READ,MAP_SHARED,Files[fnum]->fd_ptr.fd,0);
+ PROT_READ,MAP_SHARED,Files[fnum].fd_ptr->fd,0);
if (Files[fnum].mmap_ptr == (char *)-1 || !Files[fnum].mmap_ptr)
{