diff options
author | Christoph Lohmann <20h@r-36.net> | 2012-05-02 21:06:24 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2012-05-02 21:06:24 +0200 |
commit | 4a9c648ee9a13e310901528e830755c148330518 (patch) | |
tree | 280713a1db492c4d6ed09817d3824b2b3beb109f | |
parent | ae9c18cf4623a0055fda83fecc0235a26116621c (diff) | |
download | nldev-4a9c648ee9a13e310901528e830755c148330518.tar.bz2 nldev-4a9c648ee9a13e310901528e830755c148330518.tar.xz |
Fixing dup typo in execl.
-rw-r--r-- | nldev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ child(char *runpath) if (write(0, 0, 0) < 0) dup2(fd, 0); if (write(2, 0, 0) < 0) - dup2(fd, 0); + dup2(fd, 2); if (fd > 2) close(fd); } |