diff options
Diffstat (limited to 'source4')
-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) |