Skip to content

Commit

Permalink
fix: file: An error message lost a '\n'
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Feb 3, 2021
1 parent 789afea commit 56563f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filectl.c
Expand Up @@ -152,7 +152,7 @@ void request_transfer_file(char type, const char *path)
if (sfd < 0) {
printf("open '%s' failed: ", path);
if (errno == ENOENT)
printf("No such filen");
printf("No such filen\n");
else
printf("%s\n", strerror(errno));
exit(EXIT_FAILURE);
Expand Down

0 comments on commit 56563f7

Please sign in to comment.