diff options
author | Simo Sorce <idra@samba.org> | 2008-09-25 01:51:49 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-09-25 02:30:18 -0400 |
commit | f698831f0ae0cd86225eb647ae4aeb813f08d3b5 (patch) | |
tree | 55689de966245292e6ae517480c668ce993caf70 /tdb/common/io.c | |
parent | cced59be44cbc2204314bdf77a35b41b81bf4097 (diff) | |
download | sssd-f698831f0ae0cd86225eb647ae4aeb813f08d3b5.tar.gz sssd-f698831f0ae0cd86225eb647ae4aeb813f08d3b5.tar.bz2 sssd-f698831f0ae0cd86225eb647ae4aeb813f08d3b5.zip |
Sync with upstream changes
Diffstat (limited to 'tdb/common/io.c')
-rw-r--r-- | tdb/common/io.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tdb/common/io.c b/tdb/common/io.c index 172ab69d..661f7614 100644 --- a/tdb/common/io.c +++ b/tdb/common/io.c @@ -189,7 +189,9 @@ int tdb_munmap(struct tdb_context *tdb) #ifdef HAVE_MMAP if (tdb->map_ptr) { - int ret = munmap(tdb->map_ptr, tdb->map_size); + int ret; + + ret = munmap(tdb->map_ptr, tdb->map_size); if (ret != 0) return ret; } |