r3191: use __location__ in RAW-UNLINK test
authorAndrew Tridgell <tridge@samba.org>
Mon, 25 Oct 2004 05:26:23 +0000 (05:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:04:38 +0000 (13:04 -0500)
(This used to be commit fb1929743aae5ca758ee6757aaf772754459f683)

source4/torture/raw/unlink.c

index 0d2f36f37c524516135f33c1b42206f0f60fdd83..9d6b1a0fefe5ca382fb79e2a1892fdacdd7cd7c6 100644 (file)
@@ -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)