diff options
-rw-r--r-- | lib/tdb/common/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/io.c b/lib/tdb/common/io.c index b9caffb1e5..7e29c38440 100644 --- a/lib/tdb/common/io.c +++ b/lib/tdb/common/io.c @@ -84,7 +84,7 @@ static int tdb_oob(struct tdb_context *tdb, tdb_off_t off, tdb_len_t len, } tdb->map_size = st.st_size; if (tdb_mmap(tdb) != 0) { - return - 1; + return -1; } if (st.st_size < (size_t)off + len) { |