summaryrefslogtreecommitdiffstats
path: root/daemon/fromd
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/fromd')
-rw-r--r--daemon/fromd/fromc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/fromd/fromc.c b/daemon/fromd/fromc.c
index 1a5cb6b1..e77f3cc6 100644
--- a/daemon/fromd/fromc.c
+++ b/daemon/fromd/fromc.c
@@ -27,7 +27,7 @@ int main(int argc, char *argv[])
return 1;
}
- write(fd, argv[2], strlen(argv[2]));
+ write(fd, argv[3], strlen(argv[3]));
read(fd, buf, sizeof(buf));
printf("%s\n", buf);