diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-30 02:22:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:43 -0500 |
commit | e20be5a6be8fc5da412623c0491cdf9362f1dc2d (patch) | |
tree | d220e73cf5658b639836c2f2c70c036b93d84424 /source4/torture/raw | |
parent | a477387cd0011265d4f2bbdfbeabd4b9ac3a56b4 (diff) | |
download | samba-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')
-rw-r--r-- | source4/torture/raw/rename.c | 8 |
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) |