Skip to content

Commit 50b93f3

Browse files
committed
time: fix sys_timer_settime prototype
A small typo has crept into the y2038 conversion of the timer_settime system call. So far this was completely harmless, but once we start using the new version, this has to be fixed. Fixes: 6ff8473 ("time: Change types to new y2038 safe __kernel_itimerspec") Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 2c620ff commit 50b93f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/syscalls.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ asmlinkage long sys_timer_gettime(timer_t timer_id,
591591
asmlinkage long sys_timer_getoverrun(timer_t timer_id);
592592
asmlinkage long sys_timer_settime(timer_t timer_id, int flags,
593593
const struct __kernel_itimerspec __user *new_setting,
594-
struct itimerspec __user *old_setting);
594+
struct __kernel_itimerspec __user *old_setting);
595595
asmlinkage long sys_timer_delete(timer_t timer_id);
596596
asmlinkage long sys_clock_settime(clockid_t which_clock,
597597
const struct __kernel_timespec __user *tp);

0 commit comments

Comments
 (0)