mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
libthr: fix -Wunterminated-string-initialization
Reviewed by: jhb, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D52528
This commit is contained in:
parent
802c6d5d61
commit
4cfc7de13f
1 changed files with 1 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ _thread_printf(int fd, const char *fmt, ...)
|
|||
void
|
||||
_thread_vprintf(int fd, const char *fmt, va_list ap)
|
||||
{
|
||||
static const char digits[16] = "0123456789abcdef";
|
||||
static const char digits[16] __nonstring = "0123456789abcdef";
|
||||
char buf[20];
|
||||
char *s;
|
||||
unsigned long r, u;
|
||||
|
|
@ -147,4 +147,3 @@ pstr(int fd, const char *s)
|
|||
|
||||
__sys_write(fd, s, strlen(s));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue