about summary refs log tree commit diff
path: root/support/support_capture_subprocess.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-03-15 16:00:06 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-03-15 20:16:27 +0530
commit95c68080a3ded882789b1629f872c3ad531efda0 (patch)
treee715d12cad0b51de00700532cda872e6ff4a76af /support/support_capture_subprocess.c
parent4e6db99c665d3b82a70a3e218860ef087b1555b4 (diff)
downloadglibc-95c68080a3ded882789b1629f872c3ad531efda0.tar.gz
glibc-95c68080a3ded882789b1629f872c3ad531efda0.tar.xz
glibc-95c68080a3ded882789b1629f872c3ad531efda0.zip
support: Typo and formatting fixes
- Add a newline to the end of error messages in transfer().
- Fixed the name of support_subprocess_init().
Diffstat (limited to 'support/support_capture_subprocess.c')
-rw-r--r--support/support_capture_subprocess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/support_capture_subprocess.c b/support/support_capture_subprocess.c
index a7afa0e70b..3eb825b9af 100644
--- a/support/support_capture_subprocess.c
+++ b/support/support_capture_subprocess.c
@@ -36,7 +36,7 @@ transfer (const char *what, struct pollfd *pfd, struct xmemstream *stream)
       if (ret < 0)
         {
           support_record_failure ();
-          printf ("error: reading from subprocess %s: %m", what);
+          printf ("error: reading from subprocess %s: %m\n", what);
           pfd->events = 0;
           pfd->revents = 0;
         }