summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-07-27 21:51:13 +0200
committerVolker Lendecke <vl@samba.org>2011-07-27 21:55:21 +0200
commita7f8d9e798bd5cf4ff16382b45e20e4b2a4c0bf8 (patch)
tree6aaa9061efb184a24eefc62330edd82c17778f46
parent34faeb8bba86fff57466c06682b7dcbffc48a52a (diff)
downloadsamba-a7f8d9e798bd5cf4ff16382b45e20e4b2a4c0bf8.tar.gz
samba-a7f8d9e798bd5cf4ff16382b45e20e4b2a4c0bf8.tar.bz2
samba-a7f8d9e798bd5cf4ff16382b45e20e4b2a4c0bf8.zip
s3: Fix formatting in check_error()
-rw-r--r--source3/torture/torture.c9
1 files changed, 6 insertions, 3 deletions
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;
}
}