diff options
Diffstat (limited to 'lib/ntdb')
-rw-r--r-- | lib/ntdb/test/tap-interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ntdb/test/tap-interface.h b/lib/ntdb/test/tap-interface.h index f3d4ec2545..9df64a16cb 100644 --- a/lib/ntdb/test/tap-interface.h +++ b/lib/ntdb/test/tap-interface.h @@ -37,5 +37,5 @@ extern unsigned tap_ok_count, tap_ok_target; #define ok1(e) ok((e), "%s:%s", __location__, #e) #define pass(...) (printf("."), tap_ok_count++) #define fail(...) warnx(__VA_ARGS__) -#define diag printf +#define diag(...) do { printf(__VA_ARGS__); printf("\n"); } while(0) #define exit_status() (tap_ok_count == tap_ok_target ? 0 : 1) |