Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/dist/cmd/zdb Add missing 4th argument of...



details:   https://anonhg.NetBSD.org/src/rev/1065861f5587
branches:  trunk
changeset: 328147:1065861f5587
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Mar 28 03:11:00 2014 +0000

description:
Add missing 4th argument of ddt_object_name

diffstat:

 external/cddl/osnet/dist/cmd/zdb/zdb.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a122ceca1231 -r 1065861f5587 external/cddl/osnet/dist/cmd/zdb/zdb.c
--- a/external/cddl/osnet/dist/cmd/zdb/zdb.c    Fri Mar 28 02:58:36 2014 +0000
+++ b/external/cddl/osnet/dist/cmd/zdb/zdb.c    Fri Mar 28 03:11:00 2014 +0000
@@ -623,7 +623,7 @@
 
        ASSERT(count != 0);     /* we should have destroyed it */
 
-       ddt_object_name(ddt, type, class, name);
+       ddt_object_name(ddt, type, class, name, sizeof(name));
 
        (void) printf("%s: %llu entries, size %llu on disk, %llu in core\n",
            name,



Home | Main Index | Thread Index | Old Index