pmap: fix const warning
pmap.c:300:8: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
2bac5334b0
commit
fc3bf171ff
2
pmap.c
2
pmap.c
@ -161,7 +161,7 @@ static int one_proc(proc_t * p)
|
|||||||
unsigned long total_private_writeable = 0ul;
|
unsigned long total_private_writeable = 0ul;
|
||||||
KLONG diff = 0;
|
KLONG diff = 0;
|
||||||
|
|
||||||
char *cp2 = NULL;
|
const char *cp2 = NULL;
|
||||||
unsigned long long rss = 0ull;
|
unsigned long long rss = 0ull;
|
||||||
unsigned long long private_dirty = 0ull;
|
unsigned long long private_dirty = 0ull;
|
||||||
unsigned long long shared_dirty = 0ull;
|
unsigned long long shared_dirty = 0ull;
|
||||||
|
Loading…
Reference in New Issue
Block a user