From 4d5b8509eb46cff40890b781018669233a79e414 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 30 Jul 2006 03:43:34 +0000 Subject: conf.c: bugfix: print out the number, not the address git-svn-id: https://svn.musicpd.org/mpd/trunk@4482 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index f130334b..2ba49ae5 100644 --- a/src/conf.c +++ b/src/conf.c @@ -232,7 +232,7 @@ static ConfigParam *readConfigBlock(FILE * fp, int *count, char *string) 0 == strcmp(array[0], CONF_BLOCK_END) || 0 == strcmp(array[1], CONF_BLOCK_END)) { ERROR("improperly formatted config file at line %i:" - " %s\n", count, string); + " %s\n", *count, string); ERROR("in block begining at line %i\n", ret->line); exit(EXIT_FAILURE); } -- cgit v1.2.3