diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/sockin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sockin.c b/tools/sockin.c index 946b5d3..3f969bc 100644 --- a/tools/sockin.c +++ b/tools/sockin.c @@ -169,7 +169,7 @@ main (int argc, char* argv[]) } /* And duplicate our socket onto stdout */ - dup2 (1, sock); + dup2 (sock, 1); execvp (args[0], args); err (1, "couldn't execute program: %s", args[0]); |