s3: Fix formatting in check_error()
authorVolker Lendecke <vl@samba.org>
Wed, 27 Jul 2011 19:51:13 +0000 (21:51 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 27 Jul 2011 19:55:21 +0000 (21:55 +0200)
source3/torture/torture.c

index 36d263d05e6fc51307be69dedd8d5b032f65331e..9b2e2cfb4de94de3c1e1052b51d5556bc1a0bdd9 100644 (file)
@@ -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;
                 }
         }