Date: Wed, 28 Sep 2016 08:45:43 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306397 - head/contrib/netbsd-tests/lib/libc/gen Message-ID: <201609280845.u8S8jhkF058371@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609280845.u8S8jhkF058371>