1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

Fixed my stupid typo in earlier fix.

jra@cygnus.com
(This used to be commit e9a8ccb36b)
This commit is contained in:
Samba Release Account
1997-02-04 01:21:52 +00:00
parent f24c04fc77
commit 1fe69a7dd9

View File

@ -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)
{