--- xenomai/nucleus/registry.c.old 2008-07-15 00:36:10.000000000 +0200 +++ xenomai/nucleus/registry.c 2008-07-15 01:51:13.000000000 +0200 @@ -733,7 +733,7 @@ int xnregistry_bind(const char *key, xnt if (timeout != XN_INFINITE) { xnticks_t now = xntbase_get_time(tbase); - if (stime + timeout >= now) + if (stime + timeout <= now) break; timeout -= (now - stime);