diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-06-05 01:02:13 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-06-05 01:02:13 +0000 |
commit | 4dd8bac65f219bcc6e533416aef86984188808eb (patch) | |
tree | 34023500c5fee70431c90553f853e891961dcdb0 | |
parent | 3139a6b754aa5d477fc3624d52fdcdc994dfecb8 (diff) | |
download | FreeBSD-src-4dd8bac65f219bcc6e533416aef86984188808eb.zip FreeBSD-src-4dd8bac65f219bcc6e533416aef86984188808eb.tar.gz |
Use a const char * where it is meant to be used. There's no reason to try
to discard the const qualifier here.
-rw-r--r-- | bin/ps/print.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c index 1e1d3a9..fefb005 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -618,7 +618,8 @@ static void printval(char *bp, VAR *v) { static char ofmt[32] = "%"; - char *fcp, *cp; + const char *fcp; + char *cp; cp = ofmt + 1; fcp = v->fmt; |