Репозитории 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-deb-init-msg.patch
Скачать
Скачать
#! /bin/sh /usr/share/dpatch/dpatch-run
## 61_init_msg.dpatch by Petter Reinholdtsen
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Improve error message if fork() fail. Patch found in Suse.
@DPATCH@
Index: sysvinit/src/init.c
===================================================================
--- sysvinit/src/init.c (revisjon 62)
+++ sysvinit/src/init.c (arbeidskopi)
@@ -967,7 +967,8 @@
dup(f);
}
if ((pid = fork()) < 0) {
- initlog(L_VB, "cannot fork");
+ initlog(L_VB, "cannot fork: %s",
+ strerror(errno));
exit(1);
}
if (pid > 0) {
@@ -997,7 +998,8 @@
* this with a temporary process.
*/
if ((pid = fork()) < 0) {
- initlog(L_VB, "cannot fork");
+ initlog(L_VB, "cannot fork: %s",
+ strerror(errno));
exit(1);
}
if (pid == 0) {