Subject: CVS commit: src/lib/libtelnet
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 05/05/2005 02:20:45
Module Name:	src
Committed By:	lukem
Date:		Thu May  5 02:20:45 UTC 2005

Modified Files:
	src/lib/libtelnet: sra.c

Log Message:
Fix the check for insecure root logins in rootterm():
- It was originally referring to a bogus version of `line'.
  (problem solved by using 'extern char *line' instead of 'extern char line[]')
- It wasn't stripping the leading "/dev/" off `line' before calling getttynam(3)


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/lib/libtelnet/sra.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.