about summary refs log tree commit diff
path: root/hurd/lookup-retry.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-01-13 03:45:38 +0000
committerRoland McGrath <roland@gnu.org>2003-01-13 03:45:38 +0000
commitc01ec9c73d479ac91efb8ec590a6b81cee3ed0af (patch)
tree99b389b0d78f0fb21c2769baf54d9129cbfe96a5 /hurd/lookup-retry.c
parentf1c5213d6908c00e42556e9ac910cf150029f4c2 (diff)
downloadglibc-c01ec9c73d479ac91efb8ec590a6b81cee3ed0af.tar.gz
glibc-c01ec9c73d479ac91efb8ec590a6b81cee3ed0af.tar.xz
glibc-c01ec9c73d479ac91efb8ec590a6b81cee3ed0af.zip
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
	not strtol.  The former is usable in ld.so, the latter not.
Diffstat (limited to 'hurd/lookup-retry.c')
-rw-r--r--hurd/lookup-retry.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c
index f6f77a6120..1f53f911a7 100644
--- a/hurd/lookup-retry.c
+++ b/hurd/lookup-retry.c
@@ -1,5 +1,6 @@
 /* hairy bits of Hurd file name lookup
-   Copyright (C) 1992,93,94,95,96,97,99,2001,02 Free Software Foundation, Inc.
+   Copyright (C) 1992,1993,1994,1995,1996,1997,1999,2001,2002,2003
+	Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -193,7 +194,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port)
 		  char *end;
 		  int save = errno;
 		  errno = 0;
-		  fd = (int) strtol (&retryname[3], &end, 10);
+		  fd = (int) strtoul (&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