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:
commit
1a8d76d7ca
|
@ -42,7 +42,7 @@ int main(int argc, char *argv[]) {
|
|||
putchar('\v');
|
||||
break;
|
||||
case '\\':
|
||||
putchar("\\");
|
||||
putchar('\\');
|
||||
break;
|
||||
default:
|
||||
printf("\\%c", argv[i][j]);
|
||||
|
|
Loading…
Reference in New Issue