git: 9f870e779c1b - stable/13 - linux(4): Fix a typo in itimerspec conversion routine.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jun 2022 19:39:00 UTC
The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=9f870e779c1b3d77912d8b2c750d88c85a4ae329 commit 9f870e779c1b3d77912d8b2c750d88c85a4ae329 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2022-04-06 14:40:00 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2022-06-17 19:33:49 +0000 linux(4): Fix a typo in itimerspec conversion routine. MFC after: 3 days (cherry picked from commit 0938d04a2c513122127c4a1552542ab617f567a8) --- sys/compat/linux/linux_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_time.c b/sys/compat/linux/linux_time.c index c1644b5de939..f43e4d3985aa 100644 --- a/sys/compat/linux/linux_time.c +++ b/sys/compat/linux/linux_time.c @@ -181,7 +181,7 @@ native_to_linux_itimerspec(struct l_itimerspec *ltp, struct itimerspec *ntp) error = native_to_linux_timespec(<p->it_interval, &ntp->it_interval); if (error == 0) - error = native_to_linux_timespec(<p->it_value, &ntp->it_interval); + error = native_to_linux_timespec(<p->it_value, &ntp->it_value); return (error); }