fix printing line number
This commit is contained in:
parent
0c3f575025
commit
c501d00c1c
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ char* ChfBuildMessage( const ChfDescriptor* descriptor )
|
|||
if ( descriptor->line_number != CHF_UNKNOWN_LINE_NUMBER ) {
|
||||
tmp_p = scopy( tmp_p, " ", tmp_end );
|
||||
|
||||
sprintf( def_message, "(%s,%)", descriptor->file_name, descriptor->line_number );
|
||||
sprintf( def_message, "(%s:%i)", descriptor->file_name, descriptor->line_number );
|
||||
|
||||
tmp_p = scopy( tmp_p, def_message, tmp_end );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue