From 111b34bb1b1718e815ea95d19630cea4cab1ddf5 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 13 Mar 2019 11:26:58 +0100 Subject: [PATCH] Cygwin: proc: add missing LF to /proc//stat output Signed-off-by: Corinna Vinschen --- winsup/cygwin/fhandler_process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc index 31cd50700..44410b223 100644 --- a/winsup/cygwin/fhandler_process.cc +++ b/winsup/cygwin/fhandler_process.cc @@ -1160,7 +1160,7 @@ format_process_stat (void *data, char *&destbuf) "%u %lu %lu %u %u %lu %lu " "%U %U %d %d %d %d " "%U %lu " - "%ld %lu", + "%ld %lu\n", p->pid, cmd, state, p->ppid, p->pgid, p->sid, p->ctty, -1, 0, fault_count, fault_count, 0, 0, utime, stime,