diff --git a/src/csv.c b/src/csv.c index b1d9d92..504142f 100644 --- a/src/csv.c +++ b/src/csv.c @@ -112,7 +112,7 @@ void write_to_file(book_t* book) if (0 != file_exists) { file = fopen(FILE_NAME, "w"); // write the csv headers to the file since we're making it - fprintf(file, "id,isbn,title,authors,imageurl,year of publication,page length\n"); + fprintf(file, "id,isbn,title,authors,imageurl,year-of-publication,page-length\n"); book_id = 1; } else { file = fopen(FILE_NAME, "a");