mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
fix: file: An error message lost a '\n'
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user