From 709a44246456a49c06d73dfbe84daa5b4ba5fec5 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 22 Aug 2017 14:03:45 -0700 Subject: Fix iconv build and add trivial test. --- toys/pending/iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/pending') 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; -- cgit v1.2.3