about summary refs log tree commit diff
path: root/sysdeps/mach/gettimeofday.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/gettimeofday.c')
-rw-r--r--sysdeps/mach/gettimeofday.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sysdeps/mach/gettimeofday.c b/sysdeps/mach/gettimeofday.c
index 9271490ad5..531b0b6760 100644
--- a/sysdeps/mach/gettimeofday.c
+++ b/sysdeps/mach/gettimeofday.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995, 1996 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
@@ -31,10 +31,7 @@ DEFUN(__gettimeofday, (tv, tz),
   kern_return_t err;
 
   if (tz != NULL)
-    {
-      errno = ENOSYS;
-      return -1;
-    }
+    *tz = (struct timezone){0, 0}; /* XXX */
 
   if (err = __host_get_time (__mach_host_self (), (time_value_t *) tv))
     {