Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ps g/c SDEAD
details: https://anonhg.NetBSD.org/src/rev/e17d3ff47236
branches: trunk
changeset: 557548:e17d3ff47236
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Jan 11 18:55:33 2004 +0000
description:
g/c SDEAD
diffstat:
bin/ps/print.c | 6 +++---
bin/ps/ps.c | 5 ++---
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r c13f74d812f6 -r e17d3ff47236 bin/ps/print.c
--- a/bin/ps/print.c Sun Jan 11 18:51:15 2004 +0000
+++ b/bin/ps/print.c Sun Jan 11 18:55:33 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: print.c,v 1.79 2003/08/07 09:05:24 agc Exp $ */
+/* $NetBSD: print.c,v 1.80 2004/01/11 18:55:33 jdolecek Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#else
-__RCSID("$NetBSD: print.c,v 1.79 2003/08/07 09:05:24 agc Exp $");
+__RCSID("$NetBSD: print.c,v 1.80 2004/01/11 18:55:33 jdolecek Exp $");
#endif
#endif /* not lint */
@@ -1042,7 +1042,7 @@
/* XXX - I don't like this */
if (k->p_swtime == 0 || (k->p_flag & L_INMEM) == 0 ||
- k->p_stat == SZOMB || k->p_stat == SDEAD)
+ k->p_stat == SZOMB)
return (0.0);
if (rawcpu)
return (100.0 * fxtofl(k->p_pctcpu));
diff -r c13f74d812f6 -r e17d3ff47236 bin/ps/ps.c
--- a/bin/ps/ps.c Sun Jan 11 18:51:15 2004 +0000
+++ b/bin/ps/ps.c Sun Jan 11 18:55:33 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ps.c,v 1.50 2003/08/07 09:05:24 agc Exp $ */
+/* $NetBSD: ps.c,v 1.51 2004/01/11 18:55:33 jdolecek Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
#if 0
static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: ps.c,v 1.50 2003/08/07 09:05:24 agc Exp $");
+__RCSID("$NetBSD: ps.c,v 1.51 2004/01/11 18:55:33 jdolecek Exp $");
#endif
#endif /* not lint */
@@ -522,7 +522,6 @@
if (suspended != -1)
return &kl[suspended];
break;
- case SDEAD:
case SZOMB:
/* First will do */
return kl;
Home |
Main Index |
Thread Index |
Old Index