* fhandler_process.cc (format_process_statm): Fix output of dirty
pages. Add linefeed.
This commit is contained in:
parent
ee97a4e332
commit
2bf7d695ea
|
@ -1,3 +1,8 @@
|
|||
2014-10-08 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_process.cc (format_process_statm): Fix output of dirty
|
||||
pages. Add linefeed.
|
||||
|
||||
2014-09-05 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_proc.cc (proc_tab): Add entry for cygdrive symlink.
|
||||
|
|
|
@ -1160,8 +1160,8 @@ format_process_statm (void *data, char *&destbuf)
|
|||
&vmlib, &vmshare))
|
||||
return 0;
|
||||
destbuf = (char *) crealloc_abort (destbuf, 96);
|
||||
return __small_sprintf (destbuf, "%ld %ld %ld %ld %ld %ld %ld",
|
||||
vmsize, vmrss, vmshare, vmtext, vmlib, vmdata, 0);
|
||||
return __small_sprintf (destbuf, "%ld %ld %ld %ld %ld %ld 0\n",
|
||||
vmsize, vmrss, vmshare, vmtext, vmlib, vmdata);
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in New Issue