diff options
Diffstat (limited to 'usr.sbin/ppp/timer.c')
-rw-r--r-- | usr.sbin/ppp/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/timer.c b/usr.sbin/ppp/timer.c index 7a7d592..144c306 100644 --- a/usr.sbin/ppp/timer.c +++ b/usr.sbin/ppp/timer.c @@ -42,7 +42,7 @@ static void StopTimerNoBlock(struct pppTimer *); static const char * tState2Nam(u_int state) { - static const char *StateNames[] = { "stopped", "running", "expired" }; + static const char * const StateNames[] = { "stopped", "running", "expired" }; if (state >= sizeof StateNames / sizeof StateNames[0]) return "unknown"; |