portability

diff --git a/skeletons/NumericString.c b/skeletons/NumericString.c
index 0bb86db..a8d4ed8 100644
--- a/skeletons/NumericString.c
+++ b/skeletons/NumericString.c
@@ -46,7 +46,8 @@
 			case 0x35: case 0x36: case 0x37: case 0x38: case 0x39:
 				continue;
 			}
-			_ASN_ERRLOG("%s: value byte %d "
+			_ASN_ERRLOG(app_errlog, app_key,
+				"%s: value byte %d "
 				"not in NumericString alphabet (%d)",
 				td->name,
 				(buf - st->buf) + 1,
@@ -55,7 +56,8 @@
 			return -1;
 		}
 	} else {
-		_ASN_ERRLOG("%s: value not given", td->name);
+		_ASN_ERRLOG(app_errlog, app_key,
+			"%s: value not given", td->name);
 		return -1;
 	}