summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_umtx.c
diff options
context:
space:
mode:
authordavide <davide@FreeBSD.org>2012-10-27 23:42:41 +0000
committerdavide <davide@FreeBSD.org>2012-10-27 23:42:41 +0000
commit1f47916a209407390e0032080098c38b93de5004 (patch)
tree2926c75d7c8676a21be87e7ca5678b4a30dcfbde /sys/kern/kern_umtx.c
parent8f92bb074b8af486cdc1b6fb063cd2d4c41774da (diff)
downloadFreeBSD-src-1f47916a209407390e0032080098c38b93de5004.zip
FreeBSD-src-1f47916a209407390e0032080098c38b93de5004.tar.gz
The fields of struct timespec32 should be int32_t and not uint32_t.
Make this change. Reviewed by: bde, davidxu Tested by: pho MFC after: 1 week
Diffstat (limited to 'sys/kern/kern_umtx.c')
-rw-r--r--sys/kern/kern_umtx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c
index 9562944..2b7e92f 100644
--- a/sys/kern/kern_umtx.c
+++ b/sys/kern/kern_umtx.c
@@ -3291,8 +3291,8 @@ freebsd32_umtx_unlock(struct thread *td, struct freebsd32_umtx_unlock_args *uap)
}
struct timespec32 {
- uint32_t tv_sec;
- uint32_t tv_nsec;
+ int32_t tv_sec;
+ int32_t tv_nsec;
};
struct umtx_time32 {
OpenPOWER on IntegriCloud