Merge pull request 'Pass '\\' (a character) to putchar, not "\\" (a pointer)' (#3) from noisytoot/coreutils:echo-putchar-patch into main

Reviewed-on: https://codeberg.org/GRU/coreutils/pulls/3
This commit is contained in:
g1n 2022-01-29 15:21:47 +01:00
commit 1a8d76d7ca
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ int main(int argc, char *argv[]) {
putchar('\v');
break;
case '\\':
putchar("\\");
putchar('\\');
break;
default:
printf("\\%c", argv[i][j]);