summary refs log tree commit diff
path: root/sysdeps/mach/hurd/setitimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/setitimer.c')
-rw-r--r--sysdeps/mach/hurd/setitimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c
index 479b3273c3..0b2ace3f4c 100644
--- a/sysdeps/mach/hurd/setitimer.c
+++ b/sysdeps/mach/hurd/setitimer.c
@@ -159,7 +159,7 @@ setitimer_locked (const struct itimerval *new, struct itimerval *old,
       /* Just return the current value in OLD without changing anything.
 	 This is what BSD does, even though it's not documented. */
       if (old)
-	*old = _hurd_itemerval;
+	*old = _hurd_itimerval;
       spin_unlock (&_hurd_itimer_lock);
       _hurd_critical_section_unlock (crit);
       return 0;