aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-08-22 14:03:45 -0700
committerRob Landley <rob@landley.net>2017-08-23 02:21:54 -0500
commit709a44246456a49c06d73dfbe84daa5b4ba5fec5 (patch)
treec561a059c45eeebbeac20fe3f6088384373d6c7b /toys
parent138915a0d75c9b8c8d5e0b0d168091277b68c350 (diff)
downloadtoybox-709a44246456a49c06d73dfbe84daa5b4ba5fec5.tar.gz
Fix iconv build and add trivial test.
Diffstat (limited to 'toys')
-rw-r--r--toys/pending/iconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/iconv.c b/toys/pending/iconv.c
index 77b80382..75ff6397 100644
--- a/toys/pending/iconv.c
+++ b/toys/pending/iconv.c
@@ -43,7 +43,7 @@ static void do_iconv(int fd, char *name)
len = read(fd, in, 2048-inleft);
if (len < 0) {
- perror_msg("read '%s'");
+ perror_msg("read '%s'", name);
return;
}
inleft += len;