summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-12-01 21:56:33 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-12-01 21:56:33 +0300
commit9d86a7654449658db1627fb03a69a61bdadb7034 (patch)
tree5e2131cfa70888961cd7ebfd3c4bfbd578128da9
parent5fb4ee3d9a8ca154dd6aae87b87af6cbe7cde507 (diff)
downloadvsvs-9d86a7654449658db1627fb03a69a61bdadb7034.tar
vsvs-9d86a7654449658db1627fb03a69a61bdadb7034.tar.xz
vsvs-9d86a7654449658db1627fb03a69a61bdadb7034.zip
ю
-rw-r--r--shelter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shelter.c b/shelter.c
index e8bdf9f..0b2848c 100644
--- a/shelter.c
+++ b/shelter.c
@@ -14,7 +14,7 @@ int main()
} else if (pid) {
int c;
close(p[0]);
- write(p[1], "echo -n \"", 6);
+ write(p[1], "echo -n \"", 9);
while ((c = getchar()) != EOF) {
write(p[1], &c, 1);
}