Commit 234b0484 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

lwtprint.c: don't use bare printf() for strings

- if somebody puts a "%" into the delimiter on the command line bad things happen.
parent ea964375
......@@ -502,7 +502,7 @@ int main( int argc, char **argv )
for ( i=0; i<ncols; i++ ) {
icol = collist[i];
if ( i > 0 )
printf( delim );
printf( "%s", delim );
if ( icol == PSEUDOCOL_ROW )
fprintf( stdout, "%d", irow );
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment