Module Name:    src
Committed By:   chs
Date:           Mon Nov  1 08:35:17 UTC 2021

Modified Files:
        src/sys/kern: sys_futex.c

Log Message:
fix a typo in compare_futex_key().


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/kern/sys_futex.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/sys_futex.c
diff -u src/sys/kern/sys_futex.c:1.14 src/sys/kern/sys_futex.c:1.15
--- src/sys/kern/sys_futex.c:1.14	Thu Oct 21 13:21:54 2021
+++ src/sys/kern/sys_futex.c	Mon Nov  1 08:35:17 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: sys_futex.c,v 1.14 2021/10/21 13:21:54 andvar Exp $	*/
+/*	$NetBSD: sys_futex.c,v 1.15 2021/11/01 08:35:17 chs Exp $	*/
 
 /*-
  * Copyright (c) 2018, 2019, 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_futex.c,v 1.14 2021/10/21 13:21:54 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_futex.c,v 1.15 2021/11/01 08:35:17 chs Exp $");
 
 /*
  * Futexes
@@ -236,7 +236,7 @@ compare_futex_key(void *cookie, const vo
 	if (fka->fk_private.va < fkb->fk_private.va)
 		return -1;
 	if (fka->fk_private.va > fkb->fk_private.va)
-		return -1;
+		return +1;
 	return 0;
 }
 

Reply via email to