diff options
author | Samuel Thibault <sthibault@debian.org> | 2010-05-31 00:25:52 +0000 |
---|---|---|
committer | Samuel Thibault <sthibault@debian.org> | 2010-05-31 00:25:52 +0000 |
commit | c164500f9fc085ce552874eb2d96a2228d5b44d7 (patch) | |
tree | 1ced7cc7e129aedd92c111561c8b9af68b174219 | |
parent | 274797be6c824777e69b6ad10d2d5c2d2aa9aac7 (diff) |
* debian/patches/procfs.patch: Fix swap size printout.
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/procfs.patch | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 6e86fb2f..7cd5870f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,6 +30,7 @@ hurd (20090404-3) UNRELEASED; urgency=low * debian/patches/proxy-defpager.diff: New patch to fix proxying defpager. * debian/patches/ext2fs_large_stores.patch: Apply Alioth fix #312328 from Fredrik Hammar to fix random startup crash (Closes: Bug#576519). + * debian/patches/procfs.patch: Fix swap size printout. [ Guillem Jover ] * Update make-new-tarball.sh to exclude git instead of CVS paths. diff --git a/debian/patches/procfs.patch b/debian/patches/procfs.patch index 5fabf133..941c5507 100644 --- a/debian/patches/procfs.patch +++ b/debian/patches/procfs.patch @@ -2435,8 +2435,8 @@ Madhusudan's experimental procfs server for Linux-like /proc + "HighFree:\t%lu kB\n" + "LowTotal:\t%lu kB\n" + "LowFree:\t%lu kB\n" -+ "SwapTotal:\t%lu kB\n" -+ "SwapFree:\t%lu kB\n", ++ "SwapTotal:\t%llu kB\n" ++ "SwapFree:\t%llu kB\n", + mem_size, (PAGES_TO_BYTES(vmstats.free_count)) / 1024 , 0, 0, 0, + (PAGES_TO_BYTES(vmstats.active_count)) / 1024, + (PAGES_TO_BYTES(vmstats.inactive_count)) / 1024, 0, 0, 0, 0, |