summaryrefslogtreecommitdiff
path: root/sysutils/xps/patches/patch-ac
blob: 7e68b4032ee89a9bc7bf2f9d211e8ee4d32a45d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.1 2003/06/17 15:31:40 fredb Exp $

--- NetBSD/xps.c.orig	1999-05-22 15:56:46.000000000 -0500
+++ NetBSD/xps.c
@@ -162,8 +162,10 @@ GetStatus(ProcInfo *p)
 
   if (proc->kp_proc.p_pid == MyPid && !cmd_options.me_too)
     pstat = SSLEEP;
+#if __NetBSD_Version__ < 106130000
   else if ((proc->kp_proc.p_flag & P_INMEM) == 0)
     pstat = SSWAP;
+#endif
   else
     pstat = proc->kp_proc.p_stat;