From grog@freebie.lemis.com  Mon Jun 29 19:15:01 1998
Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02934
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Jun 1998 19:14:57 -0700 (PDT)
          (envelope-from grog@freebie.lemis.com)
Received: (from grog@localhost)
	by freebie.lemis.com (8.9.0/8.9.0) id LAA04720;
	Tue, 30 Jun 1998 11:44:53 +0930 (CST)
Message-Id: <199806300214.LAA04720@freebie.lemis.com>
Date: Tue, 30 Jun 1998 11:44:53 +0930 (CST)
From: Greg Lehey <grog@lemis.com>
Reply-To: grog@lemis.com
To: FreeBSD-gnats-submit@freebsd.org
Subject:
X-Send-Pr-Version: 3.2

>Number:         7123
>Category:       kern
>Synopsis:       sys/device.h contains annoying trigraph
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 29 19:20:01 PDT 1998
>Closed-Date:    Sat Jul 4 12:02:02 PDT 1998
>Last-Modified:  Wed Sep 01 20:10:56 GMT 2004
>Originator:     Greg Lehey
>Release:        All FreeBSD
>Organization:
LEMIS, Echunga, Australia
>Environment:

	Any

>Description:

	The file /usr/src/sys/sys/device.h contains a trigraph in a
	comment at line 61:

		DV_TTY			/* serial line interface (???) */

	This causes an annoying error message from the compiler when
	the -Wall option is enabled:

In file included from vinumhdr.h:66,
                 from util.c:41:
/home/vinum/@/sys/device.h: warning: 1 trigraph(s) encountered

>How-To-Repeat:

	Compile something which includes sys/device.h

>Fix:

--- device.h    1997/09/21 22:09:03     1.7
+++ device.h    1998/06/30 02:10:44
@@ -58,7 +58,7 @@
        DV_DISK,                /* disk drive (label, etc) */
        DV_IFNET,               /* network interface */
        DV_TAPE,                /* tape device */
-       DV_TTY                  /* serial line interface (???) */
+       DV_TTY                  /* serial line interface (?) */
 };
 
 struct device {
	
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sat Jul 4 11:55:04 PDT 1998 
Responsible-Changed-Why:  
Misfiled PR. 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sat Jul 4 12:02:02 PDT 1998 
State-Changed-Why:  
Patch committed to both -current and -stable.  Thanks for 
the report. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=7123 
Responsible-Changed-From-To: josef->freebsd-bugs 
Responsible-Changed-By: josef 
Responsible-Changed-When: Wed Sep 1 20:10:16 GMT 2004 
Responsible-Changed-Why:  
oops, i meant 71237 not 7123 

http://www.freebsd.org/cgi/query-pr.cgi?pr=7123 
>Unformatted:
