diff options
| author | christos <christos@NetBSD.org> | 2005-05-30 07:24:31 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-05-30 07:24:31 +0000 |
| commit | 68a1fbb811ab0fb837123f26f25479b0206a82b0 (patch) | |
| tree | 7cba61affc922c2589e96bff08a5d8ed39fa2e06 /usr.sbin/pstat | |
| parent | 4b82c3d9f3b22f26479a024a1b2cd88cf035bd6e (diff) | |
catch up with kernel's constification.
Diffstat (limited to 'usr.sbin/pstat')
| -rw-r--r-- | usr.sbin/pstat/pstat.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index f4bea1a4f0c..6c1ee22979a 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: pstat.c,v 1.88 2004/12/18 08:43:35 christos Exp $ */ +/* $NetBSD: pstat.c,v 1.89 2005/05/30 07:24:31 christos Exp $ */ /*- * Copyright (c) 1980, 1991, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\n\ #if 0 static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95"; #else -__RCSID("$NetBSD: pstat.c,v 1.88 2004/12/18 08:43:35 christos Exp $"); +__RCSID("$NetBSD: pstat.c,v 1.89 2005/05/30 07:24:31 christos Exp $"); #endif #endif /* not lint */ @@ -821,7 +821,8 @@ ttyprt(tp) char state[sizeof(ttystates) / sizeof(ttystates[0]) + 1]; char dev[2 + 3 + 1 + 5 + 1]; /* 12bit major + 20bit minor */ struct linesw t_linesw; - char *name, buffer; + const char *name; + char buffer; pid_t pgid; int n, ovflw; |
