summaryrefslogtreecommitdiff
path: root/net/fetch
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-01-11 14:07:05 +0000
committerjoerg <joerg@pkgsrc.org>2013-01-11 14:07:05 +0000
commitcced80b6ab0fba87923e80860b40e707719ba984 (patch)
tree01a4103f3e6d9cb52115b3aa297934557e07b95d /net/fetch
parent8a52142c9f226dcd5da9fc405072d7997d3fe7dd (diff)
downloadpkgsrc-cced80b6ab0fba87923e80860b40e707719ba984.tar.gz
fetch-1.8: Avoid non-literal format strings.
Diffstat (limited to 'net/fetch')
-rw-r--r--net/fetch/Makefile4
-rw-r--r--net/fetch/files/fetch.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/net/fetch/Makefile b/net/fetch/Makefile
index 831d9f29e38..00b932261c7 100644
--- a/net/fetch/Makefile
+++ b/net/fetch/Makefile
@@ -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
diff --git a/net/fetch/files/fetch.c b/net/fetch/files/fetch.c
index 68d59c48b31..cba7c88eec5 100644
--- a/net/fetch/files/fetch.c
+++ b/net/fetch/files/fetch.c
@@ -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);