about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdlookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdlookup.c b/hurd/hurdlookup.c
index bc3366cdf5..ee97a13fca 100644
--- a/hurd/hurdlookup.c
+++ b/hurd/hurdlookup.c
@@ -170,7 +170,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port)
 		  char *end;
 		  int save = errno;
 		  errno = 0;
-		  fd = (int) strtol (retryname, &end, 10);
+		  fd = (int) strtol (&retryname[3], &end, 10);
 		  if (end == NULL || errno || /* Malformed number.  */
 		      /* Check for excess text after the number.  A slash
 			 is valid; it ends the component.  Anything else