commit b68ac836fc9ac562494f74c2c7186025b5102b5b
parent 4fc02f4ef73acd558446c6f1305839b3b76f03b1
Author: leitner <leitner>
Date: Thu, 25 Sep 2014 12:36:00 +0000
get rid of dietlibc dependency
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/minit.c b/minit.c
@@ -22,8 +22,6 @@
#include "str.h"
#include <compiletimeassert.h>
-#include <write12.h>
-
#include "minit.h"
compiletimeassert(sizeof(MINITROOT) + 64 < PATH_MAX);
@@ -495,7 +493,7 @@ int main(int argc, char *argv[]) {
sa.sa_handler=sigint; sigaction(SIGINT,&sa,0); /* ctrl-alt-del */
sa.sa_handler=sigwinch; sigaction(SIGWINCH,&sa,0); /* keyboard request */
}
- if (errno) __write2("sigaction failed!\n");
+ if (errno) _puts("sigaction failed!\n");
}
if (infd<0 || outfd<0) {