rlogin(1): initialize term variable.

CID:		1011522
Obtained from:	NetBSD (CVS 1.18, partial)
This commit is contained in:
pfg 2015-03-05 19:51:37 +00:00
parent 43cb9d5cd8
commit 1a66333f9f

View File

@ -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;