sesion client UPDATE generic default client search dir
diff --git a/src/session_client.c b/src/session_client.c
index 676df95..37bdab7 100644
--- a/src/session_client.c
+++ b/src/session_client.c
@@ -254,8 +254,8 @@
         if (client_opts.schema_searchpath) {
             ly_ctx_set_searchdir(ctx, client_opts.schema_searchpath);
         }
-        if (!access(NC_YANG_DIR, F_OK)) {
-            ly_ctx_set_searchdir(ctx, NC_YANG_DIR);
+        if (!access(NC_CLIENT_SEARCH_DIR, F_OK)) {
+            ly_ctx_set_searchdir(ctx, NC_CLIENT_SEARCH_DIR);
         }
 
         /* set callback for getting modules, if provided */