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/lib/libdtrace/common Add __printfli...



details:   https://anonhg.NetBSD.org/src/rev/460f7c4655a8
branches:  trunk
changeset: 343864:460f7c4655a8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Feb 29 02:19:37 2016 +0000

description:
Add __printflike as appropriate.

diffstat:

 external/cddl/osnet/dist/lib/libdtrace/common/drti.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r bfe8c2173273 -r 460f7c4655a8 external/cddl/osnet/dist/lib/libdtrace/common/drti.c
--- a/external/cddl/osnet/dist/lib/libdtrace/common/drti.c      Mon Feb 29 01:57:30 2016 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/drti.c      Mon Feb 29 02:19:37 2016 +0000
@@ -67,7 +67,7 @@
 extern dof_hdr_t __SUNW_dof;   /* DOF defined in the .SUNW_dof section */
 static boolean_t dof_init_debug = B_FALSE;     /* From DTRACE_DOF_INIT_DEBUG */
 
-static void
+static void __printflike(2,3)
 dprintf(int debug, const char *fmt, ...)
 {
        va_list ap;



Home | Main Index | Thread Index | Old Index