diff options
Diffstat (limited to 'hurd/lookup-retry.c')
-rw-r--r-- | hurd/lookup-retry.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c index 6b94a10..ac8925e 100644 --- a/hurd/lookup-retry.c +++ b/hurd/lookup-retry.c @@ -24,7 +24,7 @@ #include <fcntl.h> #include <string.h> #include <_itoa.h> -#include <eloop-threshold.h> +#include <min-eloop-threshold.h> #include <unistd.h> /* Translate the error from dir_lookup into the error the user sees. */ @@ -113,7 +113,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port) /* Fall through. */ case FS_RETRY_NORMAL: - if (nloops++ >= __eloop_threshold ()) + if (nloops++ >= MIN_ELOOP_THRESHOLD) { __mach_port_deallocate (__mach_task_self (), *result); err = ELOOP; @@ -207,7 +207,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port) dirport = INIT_PORT_CRDIR; if (*result != MACH_PORT_NULL) __mach_port_deallocate (__mach_task_self (), *result); - if (nloops++ >= __eloop_threshold ()) + if (nloops++ >= MIN_ELOOP_THRESHOLD) { err = ELOOP; goto out; |