commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 10/31: mach-defpager: fix error handling


From: Samuel Thibault
Subject: [hurd] 10/31: mach-defpager: fix error handling
Date: Mon, 02 May 2016 23:48:31 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit b91ac2b9c65142beef19d44bbcdacd16e12c0920
Author: Justus Winter <address@hidden>
Date:   Mon Apr 18 21:48:32 2016 +0200

    mach-defpager: fix error handling
    
    * mach-defpager/default_pager.c (S_default_pager_storage_info): Fix
    error handling.
---
 mach-defpager/default_pager.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c
index 5379795..c79a82a 100644
--- a/mach-defpager/default_pager.c
+++ b/mach-defpager/default_pager.c
@@ -3268,7 +3268,7 @@ S_default_pager_storage_info (mach_port_t pager,
        {
                kr = vm_allocate(default_pager_self, &addr,
                                 round_page(m * sizeof(*size)), TRUE);
-               if (kr != KERN_SUCCESS);
+               if (kr != KERN_SUCCESS)
                        goto nomemory;
                *size = (vm_size_array_t) addr;
        }
@@ -3278,7 +3278,7 @@ S_default_pager_storage_info (mach_port_t pager,
        {
                kr = vm_allocate(default_pager_self, &addr,
                                 round_page(m * sizeof(*free)), TRUE);
-               if (kr != KERN_SUCCESS);
+               if (kr != KERN_SUCCESS)
                        goto nomemory;
                *free = (vm_size_array_t) addr;
        }
@@ -3288,7 +3288,7 @@ S_default_pager_storage_info (mach_port_t pager,
        {
                kr = vm_allocate(default_pager_self, &addr,
                                 round_page(len), TRUE);
-               if (kr != KERN_SUCCESS);
+               if (kr != KERN_SUCCESS)
                        goto nomemory;
                *name = (data_t) addr;
        }

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