summaryrefslogtreecommitdiffstats
path: root/usr.bin/msgs
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/msgs')
-rw-r--r--usr.bin/msgs/msgs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c
index 6f2a3a4..be1b407 100644
--- a/usr.bin/msgs/msgs.c
+++ b/usr.bin/msgs/msgs.c
@@ -153,7 +153,7 @@ int argc; char *argv[];
bool newrc, already;
int rcfirst = 0; /* first message to print (from .rc) */
int rcback = 0; /* amount to back off of rcfirst */
- int firstmsg, nextmsg, lastmsg = 0;
+ int firstmsg = 0, nextmsg = 0, lastmsg = 0;
int blast = 0;
FILE *bounds;
OpenPOWER on IntegriCloud