diff --git a/alliance/src/abl/src/ablerror.h b/alliance/src/abl/src/ablerror.h index a522d80f..74630f3c 100644 --- a/alliance/src/abl/src/ablerror.h +++ b/alliance/src/abl/src/ablerror.h @@ -66,7 +66,7 @@ | | \------------------------------------------------------------*/ -# define ablerror( E, V ) (abl_error( (int)(E), (char *)(V), __FILE__, __LINE__ )) +# define ablerror( E, V ) (abl_error( (int)(E), (char *)(V), basename(__FILE__), __LINE__ )) /*------------------------------------------------------------\ | | diff --git a/alliance/src/abt/src/bhl_error.h b/alliance/src/abt/src/bhl_error.h index 2403e6f4..168f5c61 100644 --- a/alliance/src/abt/src/bhl_error.h +++ b/alliance/src/abt/src/bhl_error.h @@ -63,7 +63,7 @@ | | \------------------------------------------------------------*/ -# define bhlerror( E, V ) (bhl_error( (E), (V), __FILE__, __LINE__ )) +# define bhlerror( E, V ) (bhl_error( (E), (V), basename(__FILE__), __LINE__ )) /*------------------------------------------------------------\ | |