Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa Pacify Clang -Wformat-security.
details: https://anonhg.NetBSD.org/src/rev/ae4ac127da19
branches: trunk
changeset: 760489:ae4ac127da19
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Thu Jan 06 02:45:13 2011 +0000
description:
Pacify Clang -Wformat-security.
diffstat:
sys/lib/libsa/checkpasswd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7b5073dc1f26 -r ae4ac127da19 sys/lib/libsa/checkpasswd.c
--- a/sys/lib/libsa/checkpasswd.c Thu Jan 06 02:41:34 2011 +0000
+++ b/sys/lib/libsa/checkpasswd.c Thu Jan 06 02:45:13 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: checkpasswd.c,v 1.8 2007/11/24 13:20:54 isaki Exp $ */
+/* $NetBSD: checkpasswd.c,v 1.9 2011/01/06 02:45:13 jakllsch Exp $ */
/*-
* Copyright (c) 1993
@@ -43,7 +43,7 @@
char *lp;
static char buf[128]; /* == _PASSWORD_LEN */
- printf(prompt);
+ printf("%s", prompt);
for (lp = buf;;) {
switch (c = getchar() & 0177) {
Home |
Main Index |
Thread Index |
Old Index