diff options
author | Volker Lendecke <vl@samba.org> | 2011-07-27 21:51:13 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-07-27 21:55:21 +0200 |
commit | a7f8d9e798bd5cf4ff16382b45e20e4b2a4c0bf8 (patch) | |
tree | 6aaa9061efb184a24eefc62330edd82c17778f46 | |
parent | 34faeb8bba86fff57466c06682b7dcbffc48a52a (diff) | |
download | samba-a7f8d9e798bd5cf4ff16382b45e20e4b2a4c0bf8.tar.gz samba-a7f8d9e798bd5cf4ff16382b45e20e4b2a4c0bf8.tar.bz2 samba-a7f8d9e798bd5cf4ff16382b45e20e4b2a4c0bf8.zip |
s3: Fix formatting in check_error()
-rw-r--r-- | source3/torture/torture.c | 9 |
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; } } |