Subject: kern/30069: Little typo in /sys/net/if_spppsubr.c
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <christophe.plasschaert@wanadoo.fr>
List: netbsd-bugs
Date: 04/27/2005 07:26:01
>Number:         30069
>Category:       kern
>Synopsis:       Little typo in /sys/net/if_spppsubr.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 27 07:26:01 +0000 2005
>Originator:     C. Plasschaert
>Release:        current
>Organization:
>Environment:
>Description:
Just a little typo activitiy instead of activity.


>How-To-Repeat:

>Fix:
--- if_spppsubr.c       Sat Apr  2 14:32:39 2005
+++ if_spppsubr.c_patched       Wed Apr 27 09:23:28 2005
@@ -4647,7 +4647,7 @@
                    /* idle timeout is enabled for this interface */
                    if ((now-sp->pp_last_activity) >= sp->pp_idle_timeout) {
                        if (ifp->if_flags & IFF_DEBUG)
-                           printf("%s: no activitiy for %lu seconds\n",
+                           printf("%s: no activity for %lu seconds\n",
                                sp->pp_if.if_xname,
                                (unsigned long)(now-sp->pp_last_activity));
                        lcp.Close(sp);