From d8002ecb204e33aabf9ddad3055d4f5b9d624878 Mon Sep 17 00:00:00 2001 From: br Date: Wed, 28 Sep 2016 08:45:42 +0000 Subject: [PATCH] Use right piece of code for FreeBSD. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 --- contrib/netbsd-tests/lib/libc/gen/t_nice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/netbsd-tests/lib/libc/gen/t_nice.c b/contrib/netbsd-tests/lib/libc/gen/t_nice.c index 7c6d23287dd8..9a0eac7b467c 100644 --- a/contrib/netbsd-tests/lib/libc/gen/t_nice.c +++ b/contrib/netbsd-tests/lib/libc/gen/t_nice.c @@ -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);