Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Fix typo in kcov.h



details:   https://anonhg.NetBSD.org/src/rev/39ccf8ed02bd
branches:  trunk
changeset: 997179:39ccf8ed02bd
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon Feb 25 13:19:14 2019 +0000

description:
Fix typo in kcov.h

Should fix i386.

diffstat:

 sys/sys/kcov.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1a74c3e9313c -r 39ccf8ed02bd sys/sys/kcov.h
--- a/sys/sys/kcov.h    Mon Feb 25 10:49:16 2019 +0000
+++ b/sys/sys/kcov.h    Mon Feb 25 13:19:14 2019 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: kcov.h,v 1.2 2019/02/24 21:14:43 kamil Exp $        */
+/*      $NetBSD: kcov.h,v 1.3 2019/02/25 13:19:14 kamil Exp $        */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -54,7 +54,7 @@
 #define KCOV_STORE(x,v)        __atomic_store_n(&(x), (v), __ATOMIC_RELAXED)
 #define KCOV_LOAD(x)   __atomic_load_n(&(x), __ATOMIC_RELAXED)
 #else
-#define KCOV_STORE(x,v)        (x) = (y)
+#define KCOV_STORE(x,v)        (x) = (v)
 #define KCOV_LOAD(x)   (x)
 #endif
 



Home | Main Index | Thread Index | Old Index