summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-13 12:17:00 +0100
committerVolker Lendecke <vl@samba.org>2010-02-13 12:19:09 +0100
commit6824c6f46ba7c15e8af91d5aa8b21a946b63107b (patch)
tree90df06d3f9c931747228c197268b6cf26aee0951 /lib/tdb
parent9252df53d95d6ebe43314ffd87a9dda940b1ae10 (diff)
downloadsamba-6824c6f46ba7c15e8af91d5aa8b21a946b63107b.tar.gz
samba-6824c6f46ba7c15e8af91d5aa8b21a946b63107b.tar.bz2
samba-6824c6f46ba7c15e8af91d5aa8b21a946b63107b.zip
tdb: Apply some const, just for clarity
Diffstat (limited to 'lib/tdb')
-rw-r--r--lib/tdb/common/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/transaction.c b/lib/tdb/common/transaction.c
index 67104eff7f..ccb4d955a3 100644
--- a/lib/tdb/common/transaction.c
+++ b/lib/tdb/common/transaction.c
@@ -596,7 +596,7 @@ int _tdb_transaction_cancel(struct tdb_context *tdb)
if (tdb->transaction->magic_offset) {
const struct tdb_methods *methods = tdb->transaction->io_methods;
- uint32_t invalid = TDB_RECOVERY_INVALID_MAGIC;
+ const uint32_t invalid = TDB_RECOVERY_INVALID_MAGIC;
/* remove the recovery marker */
if (methods->tdb_write(tdb, tdb->transaction->magic_offset, &invalid, 4) == -1 ||