Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyaku committed Oct 31, 2014
1 parent ae927d5 commit a2c1d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define FILE_IS_VALID 0
#define FILE_IS_INVALID -1
/*
* @brif Check the specified file for consistency.
* @brief Check the specified file for consistency.
* @param file_num The file number
* @retval FILE_IS_VALID or FILE_IS_INVALID
*/
Expand Down
2 changes: 1 addition & 1 deletion src/writer.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ void writer(int file_num, char *txt, int txt_len){

sprintf(file_name, FILENAME, file_num); // place file_num in FILENAME
fd = open(file_name, writer_f_flags, writer_f_mode);
if(fd == -1) {
if (fd == -1) {
printf("open(%s) failed. errno=%d\n", file_name, errno);
}

Expand Down

0 comments on commit a2c1d17

Please sign in to comment.