diff options
author | dchagin <dchagin@FreeBSD.org> | 2017-03-30 20:00:57 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2017-03-30 20:00:57 +0000 |
commit | 7560c4bcd70bd6f54024bed523298e5ee0cf6ebb (patch) | |
tree | 776722242814204906390ae910fdc2ab3aab6d3a /sys/compat/linux/linux_timer.h | |
parent | a4f86cee0035b361f5a5db06f7debae79bf3b7b6 (diff) | |
download | FreeBSD-src-7560c4bcd70bd6f54024bed523298e5ee0cf6ebb.zip FreeBSD-src-7560c4bcd70bd6f54024bed523298e5ee0cf6ebb.tar.gz |
MFC r314293:
Return EOVERFLOW error in case then the size of tv_sec field of struct timespec
in COMPAT_LINUX32 Linuxulator's not equal to the size of native tv_sec.
Diffstat (limited to 'sys/compat/linux/linux_timer.h')
-rw-r--r-- | sys/compat/linux/linux_timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_timer.h b/sys/compat/linux/linux_timer.h index c79c08d..e6f6b0a 100644 --- a/sys/compat/linux/linux_timer.h +++ b/sys/compat/linux/linux_timer.h @@ -111,7 +111,7 @@ struct l_itimerspec { struct l_timespec it_value; }; -void native_to_linux_timespec(struct l_timespec *, +int native_to_linux_timespec(struct l_timespec *, struct timespec *); int linux_to_native_timespec(struct timespec *, struct l_timespec *); |