From 4d049a8baacf9ede77b91cff4582798f7df350e8 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 18 Oct 1995 07:36:16 +0000 Subject: Wed Oct 18 03:33:22 1995 Roland McGrath * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic `fd/', pass the right pointer to strtol to parse the number. --- hurd/hurdlookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd/hurdlookup.c') 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 -- cgit v1.2.3