summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-25 05:26:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:38 -0500
commit9c10d74be738c61d11309045d69189bedd130095 (patch)
tree6b5df50e059dc68f999d210691ae1625cf581d8c /source4/torture
parent596d2de763dc2289051dd12b08ebfaae07ca3db2 (diff)
downloadsamba-9c10d74be738c61d11309045d69189bedd130095.tar.gz
samba-9c10d74be738c61d11309045d69189bedd130095.tar.bz2
samba-9c10d74be738c61d11309045d69189bedd130095.zip
r3191: use __location__ in RAW-UNLINK test
(This used to be commit fb1929743aae5ca758ee6757aaf772754459f683)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/raw/unlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c
index 0d2f36f37c..9d6b1a0fef 100644
--- a/source4/torture/raw/unlink.c
+++ b/source4/torture/raw/unlink.c
@@ -22,8 +22,8 @@
#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)