commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 01/01: Fix boot startup


From: Samuel Thibault
Subject: [hurd] 01/01: Fix boot startup
Date: Tue, 22 Nov 2016 00:25:55 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 58f8da3300c9ffcd7f9b5773ce2a5b9110a4c207
Author: Samuel Thibault <address@hidden>
Date:   Sun Nov 20 22:43:43 2016 +0100

    Fix boot startup
    
    * boot/boot.c (S_processor_set_tasks): Do not always return 0.
---
 boot/boot.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/boot/boot.c b/boot/boot.c
index 491c1a9..2fe1688 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -1995,8 +1995,10 @@ S_processor_set_tasks(mach_port_t processor_set,
   size_t i;
 
   if (!task_ihash.nr_items)
-    *task_listCnt = 0;
-  return 0;
+    {
+      *task_listCnt = 0;
+      return 0;
+    }
 
   err = vm_allocate (mach_task_self (), (vm_address_t *) task_list,
                     task_ihash.nr_items * sizeof **task_list, 1);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]