commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 06/12: trans/crash: fix suspending task


From: Samuel Thibault
Subject: [hurd] 06/12: trans/crash: fix suspending task
Date: Tue, 23 Feb 2016 23:53:24 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit ff2557c4eca55f46a3fb2b9c88147963d3f8b4a3
Author: Justus Winter <address@hidden>
Date:   Sun Feb 21 18:34:22 2016 +0100

    trans/crash: fix suspending task
    
    * trans/crash.c (S_crash_dump_task): Fix looking up 'user_proc'.
---
 trans/crash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trans/crash.c b/trans/crash.c
index 23f2a2d..9279bab 100644
--- a/trans/crash.c
+++ b/trans/crash.c
@@ -186,7 +186,7 @@ S_crash_dump_task (mach_port_t port,
       if (err)
        break;
 
-      if (user_proc != MACH_PORT_NULL)
+      if (! MACH_PORT_VALID (user_proc))
        err = proc_task2proc (procserver, task, &user_proc);
       if (! err)
        {

-- 
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]