diff options
Diffstat (limited to 'sys/alpha/tlsb/tlsb.c')
-rw-r--r-- | sys/alpha/tlsb/tlsb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/alpha/tlsb/tlsb.c b/sys/alpha/tlsb/tlsb.c index 72cf93a..00aff9a 100644 --- a/sys/alpha/tlsb/tlsb.c +++ b/sys/alpha/tlsb/tlsb.c @@ -343,7 +343,8 @@ tlsb_node_type_str(u_int32_t dtype) default: bzero(tlsb_line, sizeof(tlsb_line)); - sprintf(tlsb_line, "unknown, dtype 0x%x", dtype); + snprintf(tlsb_line, sizeof(tlsb_line), + "unknown, dtype 0x%x", dtype); return (tlsb_line); } /* NOTREACHED */ |