ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit 33be4f39c27a81dd797f1a5e94a5145f02da7340
parent 6cf5c4dfba766eb3bddb8ac26dd0e1634ffa5ee9
Author: sin <sin@2f30.org>
Date:   Mon, 14 Apr 2014 11:27:18 +0100

Fixup error message in switch_root

Diffstat:
Mswitch_root.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/switch_root.c b/switch_root.c @@ -114,9 +114,9 @@ main(int argc, char **argv) if(open(console, O_RDWR) == -1) eprintf("open %s:", console); if (dup2(STDIN_FILENO, STDOUT_FILENO) != STDOUT_FILENO) - eprintf("dup2 %s:", "0,1"); + eprintf("dup2 %s:", "stdin,stdout"); if (dup2(STDIN_FILENO, STDERR_FILENO) != STDERR_FILENO) - eprintf("dup2 %s:", "0,2"); + eprintf("dup2 %s:", "stdin,stderr"); } /* execute init */