aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/times.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/times.c')
-rw-r--r--sysdeps/mach/hurd/times.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/times.c b/sysdeps/mach/hurd/times.c
index 044ca17bae..e232757090 100644
--- a/sysdeps/mach/hurd/times.c
+++ b/sysdeps/mach/hurd/times.c
@@ -1,5 +1,5 @@
/* Return CPU and real time used by process and its children. Hurd version.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001,02 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
@@ -70,7 +70,11 @@ __times (struct tms *tms)
if (err)
return __hurd_fail (err);
+#if NO_CREATION_TIME
+ return 0; /* XXX */
+#else
return (clock_from_time_value (&now)
- clock_from_time_value (&bi.creation_time));
+#endif
}
weak_alias (__times, times)