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:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user