svn commit: r306397 - head/contrib/netbsd-tests/lib/libc/gen
Ruslan Bukin
br at FreeBSD.org
Wed Sep 28 08:45:44 UTC 2016
Author: br
Date: Wed Sep 28 08:45:42 2016
New Revision: 306397
URL: https://svnweb.freebsd.org/changeset/base/306397
Log:
Use right piece of code for FreeBSD.
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
Modified:
head/contrib/netbsd-tests/lib/libc/gen/t_nice.c
Modified: head/contrib/netbsd-tests/lib/libc/gen/t_nice.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/gen/t_nice.c Wed Sep 28 08:35:05 2016 (r306396)
+++ head/contrib/netbsd-tests/lib/libc/gen/t_nice.c Wed Sep 28 08:45:42 2016 (r306397)
@@ -125,7 +125,7 @@ ATF_TC_BODY(nice_priority, tc)
if (pid == 0) {
errno = 0;
-#ifdef __FreeBSD__
+#ifdef __NetBSD__
pri = getpriority(PRIO_PROCESS, 0);
#else
pri2 = getpriority(PRIO_PROCESS, 0);
More information about the svn-src-head
mailing list