fetch-1.8: Avoid non-literal format strings.

This commit is contained in:
joerg 2013-01-11 14:07:05 +00:00
parent a4e596591d
commit c714d19e0d
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.14 2012/10/23 17:18:20 asau Exp $
# $NetBSD: Makefile,v 1.15 2013/01/11 14:07:05 joerg Exp $
#
DISTNAME= fetch-1.7
DISTNAME= fetch-1.8
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty

View file

@ -314,7 +314,7 @@ read_password(const char *prompt, char *pwbuf, size_t pwbuf_len)
tcflag_t saved_flags;
int nopwd;
fprintf(stderr, prompt);
fprintf(stderr, "%s", prompt);
if (tcgetattr(STDIN_FILENO, &tios) != 0)
return (fgets(pwbuf, pwbuf_len, stdin) == NULL);