Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser Fix typos to match values from rumpuser_conf...
details: https://anonhg.NetBSD.org/src/rev/dbe1adc86025
branches: trunk
changeset: 340610:dbe1adc86025
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Sep 18 10:56:25 2015 +0000
description:
Fix typos to match values from rumpuser_config.h
from Hajime Tazaki via rumpkernel-users
diffstat:
lib/librumpuser/rumpuser_pth.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 0b4f5bb476e9 -r dbe1adc86025 lib/librumpuser/rumpuser_pth.c
--- a/lib/librumpuser/rumpuser_pth.c Thu Sep 17 23:48:01 2015 +0000
+++ b/lib/librumpuser/rumpuser_pth.c Fri Sep 18 10:56:25 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_pth.c,v 1.44 2014/12/16 17:00:17 pooka Exp $ */
+/* $NetBSD: rumpuser_pth.c,v 1.45 2015/09/18 10:56:25 pooka Exp $ */
/*
* Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
#include "rumpuser_port.h"
#if !defined(lint)
-__RCSID("$NetBSD: rumpuser_pth.c,v 1.44 2014/12/16 17:00:17 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_pth.c,v 1.45 2015/09/18 10:56:25 pooka Exp $");
#endif /* !lint */
#include <sys/queue.h>
@@ -80,11 +80,11 @@
nanosleep(&ts, NULL);
}
-#if defined(HAVE_PTHREAD_SETNAME_3)
+#if defined(HAVE_PTHREAD_SETNAME3)
if (rv == 0 && thrname) {
pthread_setname_np(*ptidp, thrname, NULL);
}
-#elif defined(HAVE_PTHREAD_SETNAME_2)
+#elif defined(HAVE_PTHREAD_SETNAME2)
if (rv == 0 && thrname) {
pthread_setname_np(*ptidp, thrname);
}
Home |
Main Index |
Thread Index |
Old Index