session BUGFIX update function name
diff --git a/src/session.c b/src/session.c
index bb70b30..5047c87 100644
--- a/src/session.c
+++ b/src/session.c
@@ -121,7 +121,7 @@
 
     /* Try to acquire the lock and, if we fail, sleep for 5ms. */
     while ((rc = pthread_mutex_trylock(mutex)) == EBUSY) {
-        nc_gettimespec(&cur);
+        nc_gettimespec_real(&cur);
 
         if ((diff = nc_difftimespec(&cur, abstime)) < 1) {
             /* timeout */