diff options
Diffstat (limited to 'src/include/misc.h')
-rw-r--r-- | src/include/misc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/misc.h b/src/include/misc.h index a6cb56dd852..7d58cbc8383 100644 --- a/src/include/misc.h +++ b/src/include/misc.h @@ -279,11 +279,11 @@ typedef void wt_timestamp_t; */ #ifdef HAVE_DIAGNOSTIC #define __wt_scr_alloc(session, size, scratchp) \ - __wt_scr_alloc_func(session, size, scratchp, __FILE__, __LINE__) + __wt_scr_alloc_func(session, size, scratchp, __func__, __LINE__) #define __wt_page_in(session, ref, flags) \ - __wt_page_in_func(session, ref, flags, __FILE__, __LINE__) + __wt_page_in_func(session, ref, flags, __func__, __LINE__) #define __wt_page_swap(session, held, want, flags) \ - __wt_page_swap_func(session, held, want, flags, __FILE__, __LINE__) + __wt_page_swap_func(session, held, want, flags, __func__, __LINE__) #else #define __wt_scr_alloc(session, size, scratchp) \ __wt_scr_alloc_func(session, size, scratchp) @@ -295,7 +295,7 @@ typedef void wt_timestamp_t; /* Called on unexpected code path: locate the failure. */ #define __wt_illegal_value(session, msg) \ - __wt_illegal_value_func(session, msg, __FILE__, __LINE__) + __wt_illegal_value_func(session, msg, __func__, __LINE__) /* Random number generator state. */ union __wt_rand_state { |