diff options
| author | John Birrell <jb@FreeBSD.org> | 1998-06-09 23:21:05 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1998-06-09 23:21:05 +0000 |
| commit | ddc8afd422568750de7698d8a92b79b27599dd2f (patch) | |
| tree | 7b6d63e77297f7bad0d21a6bb68fa893b9a54574 /lib/libpthread/thread/thr_info.c | |
| parent | a67502218841058625ebd524b04693bee2622955 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_info.c')
| -rw-r--r-- | lib/libpthread/thread/thr_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_info.c b/lib/libpthread/thread/thr_info.c index c2c34267e212..16562acd624c 100644 --- a/lib/libpthread/thread/thr_info.c +++ b/lib/libpthread/thread/thr_info.c @@ -154,7 +154,7 @@ _thread_dump_info(void) } /* Output a header for file descriptors: */ - strcpy(s, "\n\n=============\nFILE DESCRIPTOR TABLE\n\n"); + snprintf(s, sizeof(s), "\n\n=============\nFILE DESCRIPTOR TABLE (table size %d)\n\n",_thread_dtablesize); _thread_sys_write(fd, s, strlen(s)); /* Enter a loop to report file descriptor lock usage: */ |
