Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/vchiq_arm Allow more s...



details:   https://anonhg.NetBSD.org/src/rev/d50b34076c9f
branches:  trunk
changeset: 335009:d50b34076c9f
user:      nat <nat%NetBSD.org@localhost>
date:      Sat Dec 20 19:49:27 2014 +0000

description:
Allow more space for temp string buffer in service stats display.
Fixes corrupted display when rx and tx count become large.

diffstat:

 sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 75d793bac5d4 -r d50b34076c9f sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c
--- a/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c      Sat Dec 20 19:40:49 2014 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c      Sat Dec 20 19:49:27 2014 +0000
@@ -3648,7 +3648,7 @@
 void
 vchiq_dump_service_state(void *dump_context, VCHIQ_SERVICE_T *service)
 {
-       char buf[80];
+       char buf[120];
        int len;
 
        len = snprintf(buf, sizeof(buf), "Service %d: %s (ref %u)",



Home | Main Index | Thread Index | Old Index