Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2013 19:02:58 GMT
From:      Sven-Thorsten Dietrich <sven@vyatta.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/177889: fix printf to generate coherent message, correct spelling
Message-ID:  <201304161902.r3GJ2wjO012389@red.freebsd.org>
Resent-Message-ID: <201304161910.r3GJA03x028638@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304161902.r3GJ2wjO012389>