libnet: Fix copy and paste error in dbsync error message.
authorAndreas Schneider <asn@samba.org>
Fri, 30 Nov 2012 10:01:47 +0000 (11:01 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 30 Nov 2012 13:02:53 +0000 (14:02 +0100)
source4/libnet/libnet_samsync.c

index 7c999db5eb2d423bf5413c23296b7b1d0e730823..62e050003bf506174703290a5c9c647cd41459c7 100644 (file)
@@ -270,7 +270,7 @@ NTSTATUS libnet_SamSync_netlogon(struct libnet_context *ctx, TALLOC_CTX *mem_ctx
                } while (NT_STATUS_EQUAL(dbsync_nt_status, STATUS_MORE_ENTRIES));
                
                if (!NT_STATUS_IS_OK(dbsync_nt_status)) {
-                       r->out.error_string = talloc_asprintf(mem_ctx, "libnet_SamSync_netlogon failed: unexpected inconsistancy. Should not get error %s here", nt_errstr(nt_status));
+                       r->out.error_string = talloc_asprintf(mem_ctx, "libnet_SamSync_netlogon failed: unexpected inconsistancy. Should not get error %s here", nt_errstr(dbsync_nt_status));
                        talloc_free(samsync_ctx);
                        return dbsync_nt_status;
                }