diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-05-09 23:53:59 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-05-09 23:54:43 -0700 |
commit | 75d049746e374303fb1c8ee038687dca125c6817 (patch) | |
tree | a3ad2b4fb1b93066b645148b8a8b601c850a20e8 | |
parent | bcf7eb013fc3e8719229256f40c33ced212dd815 (diff) | |
download | pcu-75d049746e374303fb1c8ee038687dca125c6817.tar.gz |
mincore: Only the first bit of the byte is defined
The other 7 bits are undefined at the moment.
-rw-r--r-- | mincore.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ static void mincore_stats(const char *path, off_t offset, off_t len) for (i = 0; i < vec_len; ++i) printf(fmt, path, (unsigned long)(page_size() * i) + map_offset, - vec[i]); + vec[i] & 1); err_munmap: munmap(map, map_len); err_free: |