From f60a1643e73e24abbab3239425cd46f989942b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Tue, 21 Sep 2004 02:30:38 +0000 Subject: dirty little hack from pixel/gc to let mdk stage1 work with newer kernels ("testing" variable is supposedly obsolete btw) --- mdk-stage1/init.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'mdk-stage1') diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index 1125d2113..a2133555e 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -56,7 +56,7 @@ char * env[] = { * */ -int testing; +int testing = 0; int klog_pid; @@ -444,9 +444,6 @@ int main(int argc, char **argv) return 0; } - /* getpid() != 1 should work, by linuxrc tends to get a larger pid */ - testing = (getpid() > 50); - if (!testing) { /* turn off screen blanking */ printf("\033[9;0]"); -- cgit v1.2.1