summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-12-27 11:54:57 +0000
committerbrian <brian@FreeBSD.org>1999-12-27 11:54:57 +0000
commit5269dd341cd137829f110a77ccd91d1b7185549c (patch)
treec01a89bdfbb0afa81a443e52b0296428ffd91430 /usr.sbin/ppp/main.c
parent8d3683f53b3d5744a2026aa9b81196dd6a4a4a1b (diff)
downloadFreeBSD-src-5269dd341cd137829f110a77ccd91d1b7185549c.zip
FreeBSD-src-5269dd341cd137829f110a77ccd91d1b7185549c.tar.gz
Add a bunch of `const's and fix a typo.
Submitted by: Rich Neswold <rneswold@MCS.Net>
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 5972f0c..18c7529 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -167,7 +167,7 @@ static const char *
ex_desc(int ex)
{
static char num[12]; /* Used immediately if returned */
- static const char *desc[] = {
+ static const char * const desc[] = {
"normal", "start", "sock", "modem", "dial", "dead", "done",
"reboot", "errdead", "hangup", "term", "nodial", "nologin"
};
OpenPOWER on IntegriCloud