s3:brlock: add some const to print_lock_struct()
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Jun 2012 07:54:14 +0000 (09:54 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jun 2012 08:08:02 +0000 (10:08 +0200)
metze

source3/locking/brlock.c

index 71509362532f8d2dd813916d90db27c0b206d6c2..c70edec8930d295465668b6cb67243287e1bdfaa 100644 (file)
@@ -46,7 +46,7 @@ static struct db_context *brlock_db;
  Debug info at level 10 for lock struct.
 ****************************************************************************/
 
-static void print_lock_struct(unsigned int i, struct lock_struct *pls)
+static void print_lock_struct(unsigned int i, const struct lock_struct *pls)
 {
        DEBUG(10,("[%u]: smblctx = %llu, tid = %u, pid = %s, ",
                        i,