Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern fix a typo in compare_futex_key().



details:   https://anonhg.NetBSD.org/src/rev/4703d80757e9
branches:  trunk
changeset: 1024729:4703d80757e9
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Nov 01 08:35:17 2021 +0000

description:
fix a typo in compare_futex_key().

diffstat:

 sys/kern/sys_futex.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 398bc024b51c -r 4703d80757e9 sys/kern/sys_futex.c
--- a/sys/kern/sys_futex.c      Mon Nov 01 05:53:45 2021 +0000
+++ b/sys/kern/sys_futex.c      Mon Nov 01 08:35:17 2021 +0000
@@ -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 @@
        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;
 }
 



Home | Main Index | Thread Index | Old Index