summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-04-14 03:03:24 +0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-04-13 20:17:25 -0700
commita13649f91f3856040f53c47d14a2cccff943c702 (patch)
treec2aa8abfdaedd89f1ff33fab5e6803f87c15f683
parent598cb2f5e433014b02eec6270a73bcb95cd7b15a (diff)
setpriority and PRIO_PROCESS are in Unix98
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xinit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xinit.c b/xinit.c
index b89bae8..120a772 100644
--- a/xinit.c
+++ b/xinit.c
@@ -469,9 +469,7 @@ startServer(char *server[])
/*
* don't nice server
*/
-#ifdef PRIO_PROCESS
setpriority(PRIO_PROCESS, serverpid, -1);
-#endif
errno = 0;
if(! processTimeout(0, "")) {