about summary refs log tree commit diff
path: root/sysdeps/stub/nanosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/nanosleep.c')
-rw-r--r--sysdeps/stub/nanosleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/nanosleep.c b/sysdeps/stub/nanosleep.c
index 7728bf2a42..97cdd50da0 100644
--- a/sysdeps/stub/nanosleep.c
+++ b/sysdeps/stub/nanosleep.c
@@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA.  */
 
 /* Pause execution for a number of nanoseconds.  */
 int
-nanosleep (const struct timespec *requested_time, struct time_spec *remaining)
+nanosleep (const struct timespec *requested_time, struct timespec *remaining)
 {
   errno = ENOSYS;
   return -1;