mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
correct typo in error message
Fix typo 'No such filen' to 'No such file' in file open error handling. Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
@@ -168,7 +168,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\n");
|
||||
printf("No such file\n");
|
||||
else
|
||||
printf("%s\n", strerror(errno));
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
Reference in New Issue
Block a user