Module Name:    src
Committed By:   kamil
Date:           Tue Jun 18 02:23:29 UTC 2019

Modified Files:
        src/bin/ps: print.c

Log Message:
Make LSDEAD usage conditional

LSDEAD is not used since NetBSD-5.0 and will be gone.

The same conditional usage is already in ps.c in the same program.


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/bin/ps/print.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/ps/print.c
diff -u src/bin/ps/print.c:1.130 src/bin/ps/print.c:1.131
--- src/bin/ps/print.c:1.130	Wed Sep 19 15:20:39 2018
+++ src/bin/ps/print.c	Tue Jun 18 02:23:29 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: print.c,v 1.130 2018/09/19 15:20:39 maxv Exp $	*/
+/*	$NetBSD: print.c,v 1.131 2019/06/18 02:23:29 kamil Exp $	*/
 
 /*
  * Copyright (c) 2000, 2007 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
 #if 0
 static char sccsid[] = "@(#)print.c	8.6 (Berkeley) 4/16/94";
 #else
-__RCSID("$NetBSD: print.c,v 1.130 2018/09/19 15:20:39 maxv Exp $");
+__RCSID("$NetBSD: print.c,v 1.131 2019/06/18 02:23:29 kamil Exp $");
 #endif
 #endif /* not lint */
 
@@ -586,7 +586,9 @@ lstate(struct pinfo *pi, VARENT *ve, enu
 		break;
 
 	case LSZOMB:
+#ifdef LSDEAD
 	case LSDEAD:
+#endif
 		*cp = 'Z';
 		break;
 

Reply via email to