assert: Use __writev in assert.c [BZ #32492]

Replace writev with __writev in assert/assert.c.  This fixes [BZ #32492].

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
DJ Delorie 2024-12-21 23:12:41 -05:00 committed by H.J. Lu
parent b587e7d45c
commit 3fb895ac88
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ __assert_fail_base (const char *fmt, const char *assertion, const char *file,
this code path is taken. */
WS ("' failed\n");
(void) writev (STDERR_FILENO, v, i);
(void) __writev (STDERR_FILENO, v, i);
}
abort ();