diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 675f3f5d1..bd2eb01c9 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2014-10-08 Corinna Vinschen + + * fhandler_process.cc (format_process_statm): Fix output of dirty + pages. Add linefeed. + 2014-09-05 Corinna Vinschen * fhandler_proc.cc (proc_tab): Add entry for cygdrive symlink. diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc index a6e326cd3..077ea9990 100644 --- a/winsup/cygwin/fhandler_process.cc +++ b/winsup/cygwin/fhandler_process.cc @@ -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" {