summaryrefslogtreecommitdiff
path: root/source4/torture/raw/rename.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-30 02:22:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:43 -0500
commite20be5a6be8fc5da412623c0491cdf9362f1dc2d (patch)
treed220e73cf5658b639836c2f2c70c036b93d84424 /source4/torture/raw/rename.c
parenta477387cd0011265d4f2bbdfbeabd4b9ac3a56b4 (diff)
downloadsamba-e20be5a6be8fc5da412623c0491cdf9362f1dc2d.tar.gz
samba-e20be5a6be8fc5da412623c0491cdf9362f1dc2d.tar.bz2
samba-e20be5a6be8fc5da412623c0491cdf9362f1dc2d.zip
r4402: use __location__ instead of __LINE__ in the RAW-RENAME test
(This used to be commit 09ac1338209b0d0878173cfef3dca5603271b1a8)
Diffstat (limited to 'source4/torture/raw/rename.c')
-rw-r--r--source4/torture/raw/rename.c8
1 files changed, 4 insertions, 4 deletions
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)