about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-10-25 15:41:32 -0700
committerDavid S. Miller <davem@davemloft.net>2012-10-25 15:41:32 -0700
commite2211bed12912a57e3ff9b2c42b0d85a949354bc (patch)
tree57358a9d3087c924431061016f172fed1baaa697 /sysdeps/unix
parent6a345e4261f34abd45b15c41469a942237a48537 (diff)
downloadglibc-e2211bed12912a57e3ff9b2c42b0d85a949354bc.tar.gz
glibc-e2211bed12912a57e3ff9b2c42b0d85a949354bc.tar.xz
glibc-e2211bed12912a57e3ff9b2c42b0d85a949354bc.zip
Fix sparc64 build.
	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
	(__get_clockfreq_via_proc_openprom): Use strtoumax instead
	of strtoull.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c b/sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
index abd0ebfb9f..cb31e5ca2e 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
@@ -129,7 +129,7 @@ __get_clockfreq_via_proc_openprom (void)
 			  if (read (clkfreq_fd, type_string,
 				    sizeof (type_string)) > 0)
 			    result = (hp_timing_t)
-			      strtoull (type_string, NULL, 16);
+			      strtoumax (type_string, NULL, 16);
 			  close (clkfreq_fd);
 			}
 		    }