diff --git a/usr.sbin/pppd/options.c b/usr.sbin/pppd/options.c index 663d5e0bd4f3..f18131ca55e3 100644 --- a/usr.sbin/pppd/options.c +++ b/usr.sbin/pppd/options.c @@ -430,7 +430,7 @@ static struct cmd { #define IMPLEMENTATION "" #endif -static char *usage_string = "\ +static const char usage_string[] = "\ pppd version %s patch level %d%s\n\ Usage: %s [ options ], where options are:\n\ Communicate over the named device\n\ diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 2ab1649a60e6..75eb1a6f1206 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -699,7 +699,7 @@ kinfo_vnodes(avnodes) return ((struct e_vnode *)vbuf); } -char hdr[] = +const char hdr[] = " LINE RAW CAN OUT IHIWT ILOWT OHWT LWT COL STATE SESS PGID DISC\n"; int ttyspace = 128; diff --git a/usr.sbin/stallion/stlload/stlload.c b/usr.sbin/stallion/stlload/stlload.c index 163f4ff99cf3..552fce3ce842 100644 --- a/usr.sbin/stallion/stlload/stlload.c +++ b/usr.sbin/stallion/stlload/stlload.c @@ -55,7 +55,7 @@ static const char rcsid[] = /*****************************************************************************/ char *version = "1.0.0"; -char *defdevice = "/dev/staliomem%d"; +const char defdevice[] = "/dev/staliomem%d"; char *image = BOOTDIR "/cdk.sys"; char *oldimage = BOOTDIR "/2681.sys";