Репозитории ALT
5.1: | 2.86-alt2 |
4.1: | 2.86-alt2 |
4.0: | 2.86-alt1 |
3.0: | 2.85-alt8 |
Группа :: Система/Настройка/Загрузка и инициализация
Пакет: SysVinit
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: sysvinit-2.86-owl-warnings.patch
Скачать
Скачать
--- sysvinit-2.86.orig/src/init.c 2005-10-24 14:28:39 +0000
+++ sysvinit-2.86/src/init.c 2005-10-24 15:43:46 +0000
@@ -1884,7 +1884,7 @@ void re_exec(void)
* The existing init process execs a new init binary.
*/
env = init_buildenv(0);
- execl(myname, myname, "--init", NULL, env);
+ execle(myname, myname, "--init", NULL, env);
/*
* We shouldn't be here, something failed.
@@ -2503,7 +2503,7 @@ void usage(const char *s)
exit(1);
}
-int telinit(char *progname, int argc, char **argv)
+int telinit(const char *progname, int argc, char **argv)
{
#ifdef TELINIT_USES_INITLVL
FILE *fp;