NetBSD-Bugs archive

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

misc/51539: Replace comma with semicolon in dtrace.c



>Number:         51539
>Category:       misc
>Synopsis:       Replace comma with semicolon in dtrace.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 09 07:25:00 +0000 2016
>Originator:     henning petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Replace comma with semicolon.
Found by cocinelle.
>How-To-Repeat:

>Fix:
diff -u -p -r1.33 dtrace.c
--- external/cddl/osnet/dist/uts/common/dtrace/dtrace.c	17 Jul 2016 02:09:10 -0000	1.33
+++ external/cddl/osnet/dist/uts/common/dtrace/dtrace.c	9 Oct 2016 06:54:07 -0000
@@ -16659,7 +16659,7 @@ dtrace_state_worker_add(void (*fn)(dtrac
 	w = kmem_alloc(sizeof(*w), KM_SLEEP);
 	mutex_init(&w->lock, MUTEX_DEFAULT, IPL_NONE);
 	cv_init(&w->cv, "dtrace");
-	w->interval = ((uintmax_t)hz * interval) / NANOSEC,
+	w->interval = ((uintmax_t)hz * interval) / NANOSEC;
 	w->fn = fn;
 	w->state = state;
 	w->exiting = false;



Home | Main Index | Thread Index | Old Index