From 1d4a9e7cb47178077e112f73bf6a60397f519497 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 25 Oct 2016 20:31:05 -0400 Subject: driver: struct mdso_error_info: extend and refactor. --- src/internal/mdso_errinfo_impl.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/internal/mdso_errinfo_impl.h') diff --git a/src/internal/mdso_errinfo_impl.h b/src/internal/mdso_errinfo_impl.h index 5a56e70..0e9b384 100644 --- a/src/internal/mdso_errinfo_impl.h +++ b/src/internal/mdso_errinfo_impl.h @@ -9,12 +9,12 @@ int mdso_record_error( const struct mdso_driver_ctx *, - int syserror, - int liberror, - const char * function, - int line, - unsigned flags, - void * ctx); + int esyscode, + int elibcode, + const char * efunction, + int eline, + unsigned eflags, + void * eany); #define MDSO_SYSTEM_ERROR(dctx) \ mdso_record_error( \ @@ -58,11 +58,11 @@ int mdso_record_error( MDSO_ERROR_TOP_LEVEL, \ 0) -#define MDSO_CUSTOM_ERROR(dctx,liberror) \ +#define MDSO_CUSTOM_ERROR(dctx,elibcode) \ mdso_record_error( \ dctx, \ 0, \ - liberror, \ + elibcode, \ __func__, \ __LINE__, \ MDSO_ERROR_TOP_LEVEL \ -- cgit v1.2.3