X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Flogdebug.h;h=0710c6bc2cae9d901bb36f79e4940e224761840f;hb=e9b63a7cc8abab8dfc2b491ef3841dfbeb22703d;hp=987a6a895e9eb60994ece99c7e0d12ac67b3d727;hpb=8a854ac508a279317fc5f4d898134d83faad8b3f;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/logdebug.h b/KernelLand/Kernel/include/logdebug.h index 987a6a89..0710c6bc 100644 --- a/KernelLand/Kernel/include/logdebug.h +++ b/KernelLand/Kernel/include/logdebug.h @@ -64,7 +64,7 @@ extern void Debug_HexDump(const char *Header, const void *Data, size_t Length); #endif #if !DISABLE_ASSERTS # define ASSERTV(expr,msg,args...) do{if(!(expr))Panic("%s:%i - %s: Assertion '"#expr"' failed"msg,__FILE__,__LINE__,(char*)__func__,##args);}while(0) -# define ASSERTRV(expr,rv,msg,args...) do{if(!(expr)){Warning("%s:%i: Assertion '"#expr"' failed"msg,__FILE__,__LINE__,(char*)__func__ , ##args);return rv;}}while(0) +# define ASSERTRV(expr,rv,msg,args...) do{if(!(expr)){Warning("%s:%i - %s: Assertion '"#expr"' failed"msg,__FILE__,__LINE__,(char*)__func__ , ##args);return rv;}}while(0) #else # define ASSERTV(expr) # define ASSERTRV(expr)