summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-01 00:48:41 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-01 00:48:41 +0000
commit3cc5f0dd154f00923d313729922047fc170c7228 (patch)
treebddb12bdf1a18e07de1e68ad11a5f33771311d88
parent99fbf5c4bc870119a12e9b6467beb6a8b8650cc0 (diff)
downloadsamba-3cc5f0dd154f00923d313729922047fc170c7228.tar.gz
samba-3cc5f0dd154f00923d313729922047fc170c7228.tar.bz2
samba-3cc5f0dd154f00923d313729922047fc170c7228.zip
fixed typo
(This used to be commit 5341597de6772027034cad7dacbdbd6d2108332a)
-rw-r--r--source3/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c
index 998630cb84..11bff6ce2e 100644
--- a/source3/tdb/tdb.c
+++ b/source3/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);