diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-12 04:48:44 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-12 04:48:44 +0000 |
commit | 9015e0fb8c0fbb98f919dd3726ddbc97e46bd9fd (patch) | |
tree | 14cc365950ecf7a837508a410cf4dd0fa4ab3b97 /winsup/cygwin/mmap.cc | |
parent | 86bf05d54094008ba6e8a1c692d4a71879ee6590 (diff) | |
download | cygnal-9015e0fb8c0fbb98f919dd3726ddbc97e46bd9fd.tar.gz cygnal-9015e0fb8c0fbb98f919dd3726ddbc97e46bd9fd.tar.bz2 cygnal-9015e0fb8c0fbb98f919dd3726ddbc97e46bd9fd.zip |
Rename hinfo -> dtable. Name the former dtable array 'fdtab'.
Diffstat (limited to 'winsup/cygwin/mmap.cc')
-rw-r--r-- | winsup/cygwin/mmap.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/mmap.cc b/winsup/cygwin/mmap.cc index 44e4ba3c7..400b5759f 100644 --- a/winsup/cygwin/mmap.cc +++ b/winsup/cygwin/mmap.cc @@ -200,14 +200,14 @@ mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t off) else { /* Ensure that fd is open */ - if (dtable.not_open (fd)) + if (fdtab.not_open (fd)) { set_errno (EBADF); syscall_printf ("-1 = mmap(): EBADF"); ReleaseResourceLock(LOCK_MMAP_LIST,READ_LOCK|WRITE_LOCK," mmap"); return (caddr_t) -1; } - hFile = dtable[fd]->get_handle (); + hFile = fdtab[fd]->get_handle (); } HANDLE h = CreateFileMapping (hFile, &sec_none, protect, 0, len, NULL); |