NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/49648: Missing args in the format string ctf.c
>Number: 49648
>Category: bin
>Synopsis: Missing args in the format string ctf.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 07 14:35:00 +0000 2015
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Missing args in the format string.
>How-To-Repeat:
>Fix:
diff -u -p -r1.7 ctf.c
--- external/cddl/osnet/dist/tools/ctf/cvt/ctf.c 9 Mar 2014 17:04:00 -0000 1.7
+++ external/cddl/osnet/dist/tools/ctf/cvt/ctf.c 7 Feb 2015 14:16:03 -0000
@@ -496,7 +496,7 @@ write_type(void *arg1, void *arg2)
if (i > CTF_MAX_VLEN) {
terminate("function %s has too many args: %d > %d\n",
- i, CTF_MAX_VLEN);
+ tdesc_name(tp), i, CTF_MAX_VLEN);
}
ctt.ctt_info = CTF_TYPE_INFO(CTF_K_FUNCTION, isroot, i);
Home |
Main Index |
Thread Index |
Old Index