From owner-freebsd-bugs Sat Dec 9 22:10:18 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA01776 for bugs-outgoing; Sat, 9 Dec 1995 22:10:18 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA01751 Sat, 9 Dec 1995 22:10:14 -0800 (PST) Resent-Date: Sat, 9 Dec 1995 22:10:14 -0800 (PST) Resent-Message-Id: <199512100610.WAA01751@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, scrappy@hub.org 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 ; 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 ; 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" Reply-To: scrappy@hub.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/888: kernel doesn't compile with options DEVFS enabled Sender: owner-bugs@FreeBSD.ORG Precedence: bulk >Number: 888 >Category: kern >Synopsis: kernel doesn't compile with options DEVFS enabled >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 9 22:10:11 PST 1995 >Last-Modified: >Originator: Marc G. Fournier >Organization: >Release: FreeBSD 2.2-CURRENT i386 >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); >Audit-Trail: >Unformatted: