Skip to content

Commit

Permalink
rlogin(1): initialize term variable.
Browse files Browse the repository at this point in the history
CID:		1011522
Obtained from:	NetBSD (CVS 1.18, partial)
  • Loading branch information
pgiffuni committed Mar 5, 2015
1 parent 43cb9d5 commit 1a66333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr.bin/rlogin/rlogin.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ main(int argc, char *argv[])
long omask;
int argoff, ch, dflag, Dflag, one;
uid_t uid;
char *host, *localname, *p, *user, term[1024];
char *host, *localname, *p, *user, term[1024] = "network";
speed_t ospeed;
struct sockaddr_storage ss;
socklen_t sslen;
Expand Down

0 comments on commit 1a66333

Please sign in to comment.