diff options
Diffstat (limited to 'src/internal/perk_errinfo_impl.h')
-rw-r--r-- | src/internal/perk_errinfo_impl.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/internal/perk_errinfo_impl.h b/src/internal/perk_errinfo_impl.h index f9bd80c..9fac492 100644 --- a/src/internal/perk_errinfo_impl.h +++ b/src/internal/perk_errinfo_impl.h @@ -9,12 +9,12 @@ int pe_record_error( const struct pe_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 * ectx); #define PERK_SYSTEM_ERROR(dctx) \ pe_record_error( \ @@ -58,11 +58,11 @@ int pe_record_error( PERK_ERROR_TOP_LEVEL, \ 0) -#define PERK_CUSTOM_ERROR(dctx,liberror) \ +#define PERK_CUSTOM_ERROR(dctx,elibcode) \ pe_record_error( \ dctx, \ 0, \ - liberror, \ + elibcode, \ __func__, \ __LINE__, \ PERK_ERROR_TOP_LEVEL \ |