diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-01 00:48:41 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-01 00:48:41 +0000 |
commit | 5341597de6772027034cad7dacbdbd6d2108332a (patch) | |
tree | 1d9e7de110bef76db4319ea20fba390c8aa06396 /source/tdb | |
parent | 8ec815920d46f205b9f3fff82397c731753c3a10 (diff) | |
download | samba-5341597de6772027034cad7dacbdbd6d2108332a.tar.gz |
fixed typo
Diffstat (limited to 'source/tdb')
-rw-r--r-- | source/tdb/tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tdb/tdb.c b/source/tdb/tdb.c index 998630cb84d..11bff6ce2ea 100644 --- a/source/tdb/tdb.c +++ b/source/tdb/tdb.c @@ -1220,7 +1220,7 @@ TDB_CONTEXT *tdb_open(char *name, int hash_size, int tdb_flags, } #if HAVE_MMAP - if (!(tdb->flags & TDB_NOMMAP)) { + if (!(tdb.flags & TDB_NOMMAP)) { tdb.map_ptr = (void *)mmap(NULL, st.st_size, tdb.read_only? PROT_READ : PROT_READ|PROT_WRITE, MAP_SHARED | MAP_FILE, tdb.fd, 0); |