server session CHANGE print calling function on lock error
diff --git a/src/session_server_ssh.c b/src/session_server_ssh.c
index c9d5bf6..1fb7823 100644
--- a/src/session_server_ssh.c
+++ b/src/session_server_ssh.c
@@ -1241,7 +1241,7 @@
     }
 
     /* LOCK */
-    if (nc_ps_lock(ps, &q_id)) {
+    if (nc_ps_lock(ps, &q_id, __func__)) {
         return NC_MSG_ERROR;
     }
 
@@ -1267,7 +1267,7 @@
     }
 
     /* UNLOCK */
-    nc_ps_unlock(ps, q_id);
+    nc_ps_unlock(ps, q_id, __func__);
 
     if (!new_session) {
         ERR("No session with a NETCONF SSH channel ready was found.");