log CHANGE logging macros simplified
diff --git a/src/log.c b/src/log.c
index 576b261..d61895e 100644
--- a/src/log.c
+++ b/src/log.c
@@ -48,7 +48,7 @@
 {
     struct ly_err_item *i;
 
-    LY_CHECK_ARG_NON_NULL_RETURN(NULL, ctx, NULL);
+    LY_CHECK_ARG_RET(NULL, ctx, NULL);
 
     i = ly_err_first(ctx);
     if (i) {
@@ -63,7 +63,7 @@
 {
     struct ly_err_item *i;
 
-    LY_CHECK_ARG_NON_NULL_RETURN(NULL, ctx, NULL);
+    LY_CHECK_ARG_RET(NULL, ctx, NULL);
 
     i = ly_err_first(ctx);
     if (i) {
@@ -78,7 +78,7 @@
 {
     struct ly_err_item *i;
 
-    LY_CHECK_ARG_NON_NULL_RETURN(NULL, ctx, NULL);
+    LY_CHECK_ARG_RET(NULL, ctx, NULL);
 
     i = ly_err_first(ctx);
     if (i) {
@@ -91,7 +91,7 @@
 API struct ly_err_item *
 ly_err_first(const struct ly_ctx *ctx)
 {
-    LY_CHECK_ARG_NON_NULL_RETURN(NULL, ctx, NULL);
+    LY_CHECK_ARG_RET(NULL, ctx, NULL);
 
     return pthread_getspecific(ctx->errlist_key);
 }