From e20be5a6be8fc5da412623c0491cdf9362f1dc2d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 30 Dec 2004 02:22:29 +0000 Subject: r4402: use __location__ instead of __LINE__ in the RAW-RENAME test (This used to be commit 09ac1338209b0d0878173cfef3dca5603271b1a8) --- source4/torture/raw/rename.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/torture/raw') diff --git a/source4/torture/raw/rename.c b/source4/torture/raw/rename.c index c839100e7c..9a41a25e64 100644 --- a/source4/torture/raw/rename.c +++ b/source4/torture/raw/rename.c @@ -23,16 +23,16 @@ #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ - printf("(%d) Incorrect status %s - should be %s\n", \ - __LINE__, nt_errstr(status), nt_errstr(correct)); \ + printf("(%s) Incorrect status %s - should be %s\n", \ + __location__, nt_errstr(status), nt_errstr(correct)); \ ret = False; \ goto done; \ }} while (0) #define CHECK_VALUE(v, correct) do { \ if ((v) != (correct)) { \ - printf("(%d) Incorrect %s %d - should be %d\n", \ - __LINE__, #v, (int)v, (int)correct); \ + printf("(%s) Incorrect %s %d - should be %d\n", \ + __location__, #v, (int)v, (int)correct); \ ret = False; \ }} while (0) -- cgit