portability


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@97 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/PrintableString.c b/skeletons/PrintableString.c
index 5c9a1fb..f894d82 100644
--- a/skeletons/PrintableString.c
+++ b/skeletons/PrintableString.c
@@ -64,7 +64,8 @@
 		 */
 		for(; buf < end; buf++) {
 			if(!_PrintableString_alphabet[*buf]) {
-				_ASN_ERRLOG("%s: value byte %d "
+				_ASN_ERRLOG(app_errlog, app_key,
+					"%s: value byte %d "
 					"not in PrintableString alphabet (%d)",
 					td->name,
 					(buf - st->buf) + 1,
@@ -74,7 +75,8 @@
 			}
 		}
 	} else {
-		_ASN_ERRLOG("%s: value not given", td->name);
+		_ASN_ERRLOG(app_errlog, app_key,
+			"%s: value not given", td->name);
 		return -1;
 	}