git: 0938d04a2c51 - main - linux(4): Fix a typo in itimerspec conversion routine.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Apr 2022 14:43:06 UTC
The branch main has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=0938d04a2c513122127c4a1552542ab617f567a8
commit 0938d04a2c513122127c4a1552542ab617f567a8
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-04-06 14:40:00 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-04-06 14:40:00 +0000
linux(4): Fix a typo in itimerspec conversion routine.
MFC after: 3 days
---
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);
}