[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
- [hurd] 09/31: Make make install idempotent, (continued)
- [hurd] 09/31: Make make install idempotent, Samuel Thibault, 2016/05/02
- [hurd] 23/31: startup: implement bits of the fs and io protocols, Samuel Thibault, 2016/05/02
- [hurd] 11/31: libfshelp: pass cookie to the callback function, Samuel Thibault, 2016/05/02
- [hurd] 13/31: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd, Samuel Thibault, 2016/05/02
- [hurd] 20/31: libshouldbeinlibc: add assert(3) variant that prints backtraces, Samuel Thibault, 2016/05/02
- [hurd] 07/31: utils/settrans: get an authenticated root node in chroot mode, Samuel Thibault, 2016/05/02
- [hurd] 06/31: isofs: make superblock detection more robust, Samuel Thibault, 2016/05/02
- [hurd] 08/31: utils/settrans: add option to specify the underlying node, Samuel Thibault, 2016/05/02
- [hurd] 31/31: Fix build, Samuel Thibault, 2016/05/02
- [hurd] 29/31: libihash: keep track of free slots, Samuel Thibault, 2016/05/02
- [hurd] 10/31: mach-defpager: fix error handling,
Samuel Thibault <=
- [hurd] 30/31: libihash: rehash if effective load exceeds the threshold, Samuel Thibault, 2016/05/02
- [hurd] 26/31: startup: write all messages to stderr, Samuel Thibault, 2016/05/02
- [hurd] 27/31: Fix root operations on trivfs-translated nodes, Samuel Thibault, 2016/05/02
- [hurd] 16/31: libtrivfs: fix notion of privileged user, Samuel Thibault, 2016/05/02
- [hurd] 28/31: libihash: fix index computation, Samuel Thibault, 2016/05/02
- [hurd] 24/31: startup: add verbose parameter, Samuel Thibault, 2016/05/02
- [hurd] 25/31: startup: use the generated default server implementations, Samuel Thibault, 2016/05/02
- [hurd] 01/31: netfs: Remove global reference count lock., Samuel Thibault, 2016/05/03
- [hurd] 04/31: Use posix types for mig definitions., Samuel Thibault, 2016/05/03