s4-spoolss: fixed warning in call to torture_warning()
authorAndrew Tridgell <tridge@samba.org>
Tue, 16 Nov 2010 04:14:43 +0000 (15:14 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 16 Nov 2010 07:16:04 +0000 (07:16 +0000)
source4/torture/rpc/spoolss.c

index 6530a85495402863f471b4bf5c5a614af1d7cf19..453c79724e137015ba17f679dc9bb2511c72b095 100644 (file)
@@ -3334,8 +3334,8 @@ static bool test_DoPrintTest_check_jobs(struct torture_context *tctx,
 
                if (strequal(ginfo.info1.document_name, document_name)) {
                        torture_warning(tctx,
-                               talloc_asprintf(tctx, "document_name did *NOT* change from '%s' to '%s'\n",
-                                       document_name, new_document_name));
+                                       "document_name did *NOT* change from '%s' to '%s'\n",
+                                       document_name, new_document_name);
                }
        }