kern/177889: fix printf to generate coherent message, correct spelling

Sven-Thorsten Dietrich sven at vyatta.com
Tue Apr 16 19:10:00 UTC 2013


>Number:         177889
>Category:       kern
>Synopsis:       fix printf to generate coherent message, correct spelling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 16 19:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sven-Thorsten Dietrich
>Release:        9.1.0 / head
>Organization:
Vyatta
>Environment:
NA
>Description:
see patch - printf is incomplete / spelling error 
>How-To-Repeat:

>Fix:
apply patch

Patch attached with submission follows:

Index: vyatta-dataplane/vyatta/dataplane/ip_mroute.c
===================================================================
--- vyatta-dataplane.orig/vyatta/dataplane/ip_mroute.c	2013-02-07 17:02:46.000000000 -0800
+++ vyatta-dataplane/vyatta/dataplane/ip_mroute.c	2013-02-07 17:03:08.000000000 -0800
@@ -2847,7 +2847,7 @@
 	if_detach_event_tag = EVENTHANDLER_REGISTER(ifnet_departure_event, 
 	    if_detached_event, NULL, EVENTHANDLER_PRI_ANY);
 	if (if_detach_event_tag == NULL) {
-		printf("ip_mroute: unable to ifnet_deperture_even handler\n");
+		printf("ip_mroute: unable to register ifnet_departure_event handler\n");
 		MROUTER_LOCK_DESTROY();
 		return (EINVAL);
 	}


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list