diff options
author | kris <kris@FreeBSD.org> | 2000-07-10 05:16:59 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-10 05:16:59 +0000 |
commit | a5aaf7609c2f9c06486d3af37ae477b3440aa9d9 (patch) | |
tree | c0cc6b760879039612d734cddc3b52590c62d2eb /contrib | |
parent | 4175feb6aca36e3e04e11ebaf397e7acf267cebc (diff) | |
download | FreeBSD-src-a5aaf7609c2f9c06486d3af37ae477b3440aa9d9.zip FreeBSD-src-a5aaf7609c2f9c06486d3af37ae477b3440aa9d9.tar.gz |
Don't call printf with no format string.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/telnet/libtelnet/read_password.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/telnet/libtelnet/read_password.c b/contrib/telnet/libtelnet/read_password.c index 4676ed3..f977290 100644 --- a/contrib/telnet/libtelnet/read_password.c +++ b/contrib/telnet/libtelnet/read_password.c @@ -32,7 +32,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)read_password.c 8.3 (Berkeley) 5/30/95"; +#endif +static const char rcsid[] = + "$FreeBSD$"; #endif /* not lint */ /* @@ -101,7 +105,7 @@ local_des_read_pw_string(s,max,prompt,verify) if (ioctl(0,TIOCSETP,(char *)&tty_state) == -1) return -1; while (!ok) { - (void) printf(prompt); + (void) printf("%s", prompt); (void) fflush(stdout); while (!fgets(s, max, stdin)); |