s3:idmap_tdb2: fix a debug message
authorMichael Adam <obnox@samba.org>
Tue, 1 Jun 2010 12:03:32 +0000 (14:03 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 14 Aug 2010 00:10:29 +0000 (02:10 +0200)
source3/winbindd/idmap_tdb2.c

index f39969d1f84e295342b57be9e56ac4f83943ed25..409ac6debe7232a14377736be15d9ff7c68ffac6 100644 (file)
@@ -289,7 +289,7 @@ static NTSTATUS idmap_tdb2_allocate_id(struct unixid *xid)
 
        if (NT_STATUS_IS_OK(status)) {
                xid->id = state.hwm;
 
        if (NT_STATUS_IS_OK(status)) {
                xid->id = state.hwm;
-               DEBUG(10,("New %s = %d\n", hwmtype, hwm));
+               DEBUG(10,("New %s = %d\n", hwmtype, state.hwm));
        } else {
                DEBUG(1, ("Error allocating a new %s\n", hwmtype));
        }
        } else {
                DEBUG(1, ("Error allocating a new %s\n", hwmtype));
        }