Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > 3837d6e6d6e4fc5e03616d6e4e2ddc8c > files > 10

sysvinit-2.86-11mdv2009.1.src.rpm

--- sysvinit-2.86/src/init.c.eieio	2006-08-10 15:34:23.000000000 -0400
+++ sysvinit-2.86/src/init.c	2006-08-10 15:34:50.000000000 -0400
@@ -531,8 +531,10 @@
 	/*
 	 *	Retry the open five times.
 	 */
-	for(f = 0; f < 5; f++)
+	for(f = 0; f < 5; f++) {
 		if ((fd = open(console_dev, m)) >= 0) break;
+		usleep(100);
+	}
 
 	if (fd < 0) return fd;