[Pkg-sysvinit-devel] Bug#590560: sysvinit: misleading "ERROR: no hit for procs_*" messages on GNU/kFreeBSD

Petr Salinger Petr.Salinger at seznam.cz
Tue Jul 27 12:34:13 UTC 2010


Package: sysvinit
Version: 2.88dsf-11
Severity: important
Tags: patch
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

Hello,

the /proc/stat on GNU/kFreeBSD does not have entries
"procs_running" and "procs_blocked", similarly as 2.4 linux kernels.

Please silent the bootup screen under CONCURRENCY=makefile.

Thanks

 	Petr

--- debian/startpar/proc.c
+++ debian/startpar/proc.c
@@ -35,7 +35,9 @@
      unsigned long val = 0;

      if (!b) {
+#if DEBUG
         fprintf(stderr, "ERROR: no hit for %s\n", key);
+#endif
         return ~0UL;
      }
      if (sscanf(b + strlen(key), " %lu", &val) != 1)






More information about the Pkg-sysvinit-devel mailing list