Module Name: src Committed By: jakllsch Date: Thu Jan 6 02:45:13 UTC 2011
Modified Files: src/sys/lib/libsa: checkpasswd.c Log Message: Pacify Clang -Wformat-security. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/lib/libsa/checkpasswd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/lib/libsa/checkpasswd.c diff -u src/sys/lib/libsa/checkpasswd.c:1.8 src/sys/lib/libsa/checkpasswd.c:1.9 --- src/sys/lib/libsa/checkpasswd.c:1.8 Sat Nov 24 13:20:54 2007 +++ src/sys/lib/libsa/checkpasswd.c Thu Jan 6 02:45:13 2011 @@ -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) {