summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-03-08 22:02:09 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-03-08 22:02:09 +0000
commit1f9e06e0d8fb2fc7ab67325a057aa639c30feddf (patch)
treebbac19c9ddeb606a00b173218c5c8878f1d1f41c /libexec
parent2d384b9b3cb3183fa14a1f1f37b410473d5953a0 (diff)
Sweeping the tree for printf(s) where printf("%s",s) should be used.
OK millert
Diffstat (limited to 'libexec')
-rw-r--r--libexec/login_tis/login_tis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/login_tis/login_tis.c b/libexec/login_tis/login_tis.c
index 92b887d8459..058e2588b8d 100644
--- a/libexec/login_tis/login_tis.c
+++ b/libexec/login_tis/login_tis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: login_tis.c,v 1.2 2005/01/04 18:24:33 moritz Exp $ */
+/* $OpenBSD: login_tis.c,v 1.3 2005/03/08 22:02:08 cloder Exp $ */
/*
* Copyright (c) 2004 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -184,7 +184,7 @@ main(int argc, char *argv[])
switch (mode) {
case MODE_LOGIN:
if (rtype == display) {
- printf(chalbuf);
+ printf("%s", chalbuf);
exit(1);
}
alarm(TIS_PASSWD_TIMEOUT);