From 41a97453840c21097a925686a25037b650d28692 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Sun, 30 Dec 2007 12:54:09 -0200 Subject: [PATCH] Cosmetic changes Signed-off-by: Claudio Matsuoka --- Makefile | 2 +- finit.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f3f19cdf..2903f368 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -Os -Wall -mno-push-args -fomit-frame-pointer +CFLAGS = -Os -Wall -mno-push-args LD = gcc LDFLAGS = LIBS = diff --git a/finit.c b/finit.c index 9a50b5fc..7bd323f5 100644 --- a/finit.c +++ b/finit.c @@ -154,8 +154,8 @@ int main() /* * Set random seed - * Bug here! the eeepc never sets its random seed from file! */ + /* Bug: the eeepc never sets its random seed from file */ system("/bin/cat /var/lib/urandom/random-seed >/dev/urandom > /dev/null 2>&1"); unlink("/var/lib/urandom/random-seed"); @@ -188,6 +188,7 @@ int main() sigaddset(&nmask2, SIGCHLD); sigprocmask(SIG_UNBLOCK, &nmask2, NULL); + /* Bug: no signal 0 */ for (i = 0; i < NSIG; i++) sigaction(i, &sa, NULL);