diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-28 14:37:58 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-28 14:37:58 +0200 |
commit | 65ebcc40e55dfb3ee776383891f8a6b15b176d27 (patch) | |
tree | 171063d2fbdecea6748ad7de72223e0e99c09641 | |
parent | 122224d32894a8465a09561fc0a5220f5bb9c2c7 (diff) |
Do not include the terminating zero in /proc/slabinfo
* rootdir.c (rootdir_gc_slabinfo): Do not zero-terminate the generated
content.
-rw-r--r-- | rootdir.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -529,7 +529,6 @@ rootdir_gc_slabinfo (void *hook, char **contents, ssize_t *contents_len) mem_total, mem_total_reclaimable); fclose (m); - *contents_len += 1; /* For the terminating 0. */ out: vm_deallocate (mach_task_self (), |