From d92df520790dffbc114cd17c4cd1d45a09c118f9 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Thu, 9 Dec 2010 10:47:09 +0200 Subject: io: enhance istream/bstreams with pipe to forked child * prunes the child pid to avoid zombies * handles the errors so e.g. file-not-found is reported properly --- src/ver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ver.c') diff --git a/src/ver.c b/src/ver.c index 36c389d..c4c0079 100644 --- a/src/ver.c +++ b/src/ver.c @@ -33,7 +33,7 @@ static int ver_indexes(struct apk_database *db, int argc, char **argv) continue; printf("%.*s [%s]\n", - repo->description.len, + (int) repo->description.len, repo->description.ptr, db->repos[i].url); } -- cgit v1.2.3-70-g09d2