diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-03-24 11:00:14 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-03-24 11:08:26 +0100 |
commit | b235bd2724ad4cf9150b0f571ead70fbfa34da84 (patch) | |
tree | ee5c678a2101da1ad9093ab9e9b67968a95c157e /procfs/rootdir.c | |
parent | 5eef605eb523e4148ccd22578327492178cfd0c4 (diff) |
Fix swap information numbers
* procfs/rootdir.c (rootdir_gc_swaps): Fix default_pager_storage_info call
parameter order.
* sutils/swapon.c (main): Likewise.
Diffstat (limited to 'procfs/rootdir.c')
-rw-r--r-- | procfs/rootdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procfs/rootdir.c b/procfs/rootdir.c index dd693c89..951c071d 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; |