nldev

NetLink DEVice manager; a lightweight netlink frontend for mdev.
git clone git://r-36.net/nldev
Log | Files | Refs | LICENSE

commit 4a9c648ee9a13e310901528e830755c148330518
parent ae9c18cf4623a0055fda83fecc0235a26116621c
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed,  2 May 2012 21:06:24 +0200

Fixing dup typo in execl.

Diffstat:
nldev.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nldev.c b/nldev.c @@ -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); }