[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 02/31: Fix swap information numbers
From: |
Samuel Thibault |
Subject: |
[hurd] 02/31: Fix swap information numbers |
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 b235bd2724ad4cf9150b0f571ead70fbfa34da84
Author: Samuel Thibault <address@hidden>
Date: Thu Mar 24 11:00:14 2016 +0100
Fix swap information numbers
* procfs/rootdir.c (rootdir_gc_swaps): Fix default_pager_storage_info call
parameter order.
* sutils/swapon.c (main): Likewise.
---
procfs/rootdir.c | 2 +-
sutils/swapon.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/procfs/rootdir.c b/procfs/rootdir.c
index dd693c8..951c071 100644
--- a/procfs/rootdir.c
+++ b/procfs/rootdir.c
@@ -548,7 +548,7 @@ rootdir_gc_swaps (void *hook, char **contents, ssize_t
*contents_len)
goto out_fclose;
}
- err = default_pager_storage_info (defpager, &free, &nfree, &size, &nsize,
+ err = default_pager_storage_info (defpager, &size, &nsize, &free, &nfree,
&names, &names_len);
if (err)
goto out;
diff --git a/sutils/swapon.c b/sutils/swapon.c
index ae830ba..1d0d435 100644
--- a/sutils/swapon.c
+++ b/sutils/swapon.c
@@ -571,7 +571,7 @@ main (int argc, char *argv[])
get_def_pager();
- err = default_pager_storage_info (def_pager, &free, &nfree, &size,
&nsize,
+ err = default_pager_storage_info (def_pager, &size, &nsize, &free,
&nfree,
&names, &names_len);
if (err)
error (3, 0, "Can not get default pager storage information");
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (b5a5ed2 -> b90164e), Samuel Thibault, 2016/05/02
- [hurd] 03/31: Use swapon path as pager partition path, Samuel Thibault, 2016/05/02
- [hurd] 05/31: Update NEWS file, Samuel Thibault, 2016/05/02
- [hurd] 14/31: libdiskfs: improve error handling, Samuel Thibault, 2016/05/02
- [hurd] 15/31: libtrivfs: fix error handling, Samuel Thibault, 2016/05/02
- [hurd] 17/31: Fix supporting >4GiB files in ext2fs, Samuel Thibault, 2016/05/02
- [hurd] 18/31: libdiskfs: Reject LFS seeks and read/writes, Samuel Thibault, 2016/05/02
- [hurd] 22/31: Unify and document the way fsids are handled in trivfs translators, Samuel Thibault, 2016/05/02
- [hurd] 21/31: libshouldbeinlibc: use the new assert in the refcount primitives, Samuel Thibault, 2016/05/02
- [hurd] 12/31: Fix access mode of temporary files, Samuel Thibault, 2016/05/02
- [hurd] 02/31: Fix swap information numbers,
Samuel Thibault <=
- [hurd] 19/31: libpager: add missing include, Samuel Thibault, 2016/05/02
- [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