summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pppd/options.c2
-rw-r--r--usr.sbin/pstat/pstat.c2
-rw-r--r--usr.sbin/stallion/stlload/stlload.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pppd/options.c b/usr.sbin/pppd/options.c
index 663d5e0..f18131c 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\
<device> Communicate over the named device\n\
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 2ab1649..75eb1a6 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 163f4ff..552fce3 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";
OpenPOWER on IntegriCloud