From a7f8d9e798bd5cf4ff16382b45e20e4b2a4c0bf8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 27 Jul 2011 21:51:13 +0200 Subject: s3: Fix formatting in check_error() --- source3/torture/torture.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source3/torture') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 36d263d05e..9b2e2cfb4d 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -518,7 +518,8 @@ static bool check_error(int line, struct cli_state *c, printf("unexpected error code class=%d code=%d\n", (int)cclass, (int)num); printf(" expected %d/%d %s (line=%d)\n", - (int)eclass, (int)ecode, nt_errstr(nterr), line); + (int)eclass, (int)ecode, nt_errstr(nterr), + line); return False; } @@ -530,8 +531,10 @@ static bool check_error(int line, struct cli_state *c, status = cli_nt_error(c); if (NT_STATUS_V(nterr) != NT_STATUS_V(status)) { - printf("unexpected error code %s\n", nt_errstr(status)); - printf(" expected %s (line=%d)\n", nt_errstr(nterr), line); + printf("unexpected error code %s\n", + nt_errstr(status)); + printf(" expected %s (line=%d)\n", nt_errstr(nterr), + line); return False; } } -- cgit