X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcdll.c;h=59ca44d50b778af146017d794194294f96567d36;hb=51558729d89b9f3492b2ca754242ed548a579ca4;hp=20acef0b20a8889babdd865f64dc8cd306448450;hpb=1c3ae0efc13419718213114e140c3d83b4608c1e;p=runtime.git diff --git a/lib/silcutil/silcdll.c b/lib/silcutil/silcdll.c index 20acef0b..59ca44d5 100644 --- a/lib/silcutil/silcdll.c +++ b/lib/silcutil/silcdll.c @@ -38,7 +38,8 @@ SilcDll silc_dll_load(const char *object_path) #else /* XXX Symbian */ #endif /* SILC_UNIX */ - SILC_LOG_ERROR(("Shared objects are not supported on this platform")); + silc_set_errno_reason(SILC_ERR_NOT_SUPPORTED, + "Shared objects are not supported on this platform"); return NULL; } @@ -66,7 +67,8 @@ void *silc_dll_getsym(SilcDll dll, const char *symbol) #else /* XXX Symbian */ #endif /* SILC_UNIX */ - SILC_LOG_ERROR(("Shared objects are not supported on this platform")); + silc_set_errno_reason(SILC_ERR_NOT_SUPPORTED, + "Shared objects are not supported on this platform"); return NULL; }