commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 11/19: trans/crash: fix blunder


From: Samuel Thibault
Subject: [hurd] 11/19: trans/crash: fix blunder
Date: Wed, 10 Aug 2016 00:05:50 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit d024ec32b8fbeb039078388d5d3d699a821cfb14
Author: Justus Winter <address@hidden>
Date:   Tue Jun 7 19:52:36 2016 +0200

    trans/crash: fix blunder
    
    * trans/crash.c (S_crash_dump_task): Fix error handling.
---
 trans/crash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trans/crash.c b/trans/crash.c
index e60ce7e..058d15e 100644
--- a/trans/crash.c
+++ b/trans/crash.c
@@ -258,7 +258,7 @@ S_crash_dump_task (mach_port_t port,
 
   if (user_proc != MACH_PORT_NULL)
     mach_port_deallocate (mach_task_self (), user_proc);
-  if (err == 0 || err = MIG_NO_REPLY)
+  if (err == 0 || err == MIG_NO_REPLY)
     {
       if (MACH_PORT_VALID (task))
        mach_port_deallocate (mach_task_self (), task);

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