Use a const char * where it is meant to be used. There's no reason to try

to discard the const qualifier here.
This commit is contained in:
Juli Mallett 2002-06-05 01:02:13 +00:00
parent a89d0c4dbc
commit fdbec39885
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97843

View File

@ -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;