portability

diff --git a/skeletons/constr_SET_OF.c b/skeletons/constr_SET_OF.c
index b3428bf..53877f3 100644
--- a/skeletons/constr_SET_OF.c
+++ b/skeletons/constr_SET_OF.c
@@ -520,7 +520,8 @@
 	int i;
 
 	if(!sptr) {
-		_ASN_ERRLOG("%s: value not given", td->name);
+		_ASN_ERRLOG(app_errlog, app_key,
+			"%s: value not given", td->name);
 		return -1;
 	}