diff options
author | Guillem Jover <guillem@debian.org> | 2016-05-03 19:42:57 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-05-03 20:13:17 +0200 |
commit | 4e3993e3e650ebf44a49be007fac4ec255ca3290 (patch) | |
tree | 936a018caf8f68ee5faa0ce404b9a283aeab7247 /utils/start-stop-daemon.c | |
parent | 7d184c737fde3cb9a02647cfd277a4cd8a7deed3 (diff) | |
download | dpkg-4e3993e3e650ebf44a49be007fac4ec255ca3290.tar.gz |
s-s-d: Initialize nentries from sysctl(2) on */kFreeBSD
Diffstat (limited to 'utils/start-stop-daemon.c')
-rw-r--r-- | utils/start-stop-daemon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c index da8d8ec18..c2a81f4c1 100644 --- a/utils/start-stop-daemon.c +++ b/utils/start-stop-daemon.c @@ -1936,6 +1936,7 @@ do_procinit(void) return false; if (len == 0) return false; + nentries = len; for (i = 0; i < nentries; i++) { enum status_code pid_status; |