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
This commit is contained in:
Eric Wong 2006-07-30 03:43:34 +00:00
parent f08342c11f
commit 4d5b8509eb

View File

@ -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);
}