aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-30 03:43:34 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-30 03:43:34 +0000
commit4d5b8509eb46cff40890b781018669233a79e414 (patch)
tree8a2b8adf2fa762ae5315f0701a6b580f861d58b8
parentf08342c11fb7f31b168902b4d89d8e543e03125a (diff)
downloadmpd-4d5b8509eb46cff40890b781018669233a79e414.tar.gz
mpd-4d5b8509eb46cff40890b781018669233a79e414.tar.xz
mpd-4d5b8509eb46cff40890b781018669233a79e414.zip
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
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index f130334ba..2ba49ae52 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);
}