diff --git a/src/ls.c b/src/ls.c index 92b8a213e..aa587f132 100644 --- a/src/ls.c +++ b/src/ls.c @@ -57,7 +57,7 @@ void print_supported_uri_schemes_to_fp(FILE *fp) fprintf(fp, "%s ", *prefixes); prefixes++; } - puts("\n"); + fprintf(fp,"\n"); } void print_supported_uri_schemes(struct client *client)