From: Jacob Adams Date: Mon, 30 Mar 2015 19:53:59 +0000 (-0400) Subject: libc: Fix incomplete fprintf X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=1cd28eb8e4f0c6af09546c7b699680f2f74377eb;p=minix.git libc: Fix incomplete fprintf Closes #23 Change-Id: Ibe6362de0d2d1d94442401b92bc126e63bf9f9b0 --- diff --git a/minix/lib/libc/gen/configfile.c b/minix/lib/libc/gen/configfile.c index 2907f15ff..43a873b97 100644 --- a/minix/lib/libc/gen/configfile.c +++ b/minix/lib/libc/gen/configfile.c @@ -534,7 +534,8 @@ static void print_list(int indent, config_t *cfg) { while (cfg != nil) { if (!config_issub(cfg)) { - fprintf(stderr, "Cell at \"%s\", line %u is not a sublist\n"); + fprintf(stderr, "Cell at \"%s\", line %u is not a sublist\n", + c_file, c_line); break; } printf("%*s", indent, "");