From scrappy@hub.org  Sat Dec  9 22:02:56 1995
Received: from who.cdrom.com (who.cdrom.com [192.216.222.3])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id WAA00300
          for <FreeBSD-gnats-submit@FreeBSD.ORG>; Sat, 9 Dec 1995 22:02:53 -0800 (PST)
Received: from hub.org (hub.org [199.166.238.138])
          by who.cdrom.com (8.6.12/8.6.11) with ESMTP id TAA01839
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 9 Dec 1995 19:59:27 -0800
Received: (from root@localhost) by hub.org (8.7.1/8.7.1) id WAA14541; Sat, 9 Dec 1995 22:59:28 -0500 (EST)
Message-Id: <199512100359.WAA14541@hub.org>
Date: Sat, 9 Dec 1995 22:59:28 -0500 (EST)
From: "Marc G. Fournier" <scrappy@hub.org>
Reply-To: scrappy@hub.org
To: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: kernel doesn't compile with options DEVFS enabled
X-Send-Pr-Version: 3.2

>Number:         888
>Category:       kern
>Synopsis:       kernel doesn't compile with options DEVFS enabled
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec  9 22:10:11 PST 1995
>Closed-Date:    Sun Dec 10 14:30:58 PST 1995
>Last-Modified:  Sun Dec 10 14:33:03 PST 1995
>Originator:     Marc G. Fournier
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
>Environment:

	

>Description:

	If you enable DEVFS, in /us/src/sys/net/if_tun.c, there is
	a sprintf that requires a variable 'name' to be defined, but
	it isn't.

>How-To-Repeat:

	

>Fix:
	
*** net/if_tun.c.orig     Sat Dec  9 22:55:56 1995
--- net/if_tun.c  Sat Dec  9 22:58:10 1995
***************
*** 108,113 ****
--- 108,116 ----
        register int i;
        struct ifnet *ifp;
        dev_t dev;
+ #ifdef DEVFS
+       char name[8];
+ #endif

        if( tun_devsw_installed ) return;
        dev = makedev(CDEV_MAJOR, 0);


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: bde 
State-Changed-When: Sun Dec 10 14:30:58 PST 1995 
State-Changed-Why:  
Already fixed. 
>Unformatted:
