server session CHANGE print calling function on lock error
diff --git a/src/session_p.h b/src/session_p.h
index d7a6a65..53e1c16 100644
--- a/src/session_p.h
+++ b/src/session_p.h
@@ -302,9 +302,9 @@
int nc_gettimespec(struct timespec *ts);
int nc_timedlock(pthread_mutex_t *lock, int timeout);
-int nc_ps_lock(struct nc_pollsession *ps, uint8_t *id);
+int nc_ps_lock(struct nc_pollsession *ps, uint8_t *id, const char *func);
-int nc_ps_unlock(struct nc_pollsession *ps, uint8_t id);
+int nc_ps_unlock(struct nc_pollsession *ps, uint8_t id, const char *func);
/**
* @brief Fill libyang context in \p session. Context models are based on the stored session