s4-torture: use torture_comment in torture_rpc_connection()
authorGünther Deschner <gd@samba.org>
Fri, 2 Sep 2016 10:44:34 +0000 (12:44 +0200)
committerJeremy Allison <jra@samba.org>
Sun, 11 Sep 2016 17:57:26 +0000 (19:57 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/rpc/rpc.c

index e41f7267f3acc1cd1eb41bf1d738b87104780180..6553229eaa703854edb3ecb3479c303998be36b7 100644 (file)
@@ -86,7 +86,7 @@ _PUBLIC_ NTSTATUS torture_rpc_connection(struct torture_context *tctx,
                                     cmdline_credentials, tctx->ev, tctx->lp_ctx);
  
        if (NT_STATUS_IS_ERR(status)) {
-               printf("Failed to connect to remote server: %s %s\n", 
+               torture_warning(tctx, "Failed to connect to remote server: %s %s\n",
                           dcerpc_binding_string(tctx, binding), nt_errstr(status));
        }