Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 1999 04:15:19 +0300 (EEST)
From:      Taavi Talvik <taavi@tt.uninet.ee>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/11631: /usr/src/usr.sbin/i4b/isdnmonitor/main.c
Message-ID:  <199905110115.EAA99296@tt.uninet.ee>

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

>Number:         11631
>Category:       bin
>Synopsis:       /usr/src/usr.sbin/i4b/isdnmonitor/main.c
>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:   Mon May 10 18:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Taavi Talvik
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Uninet
>Environment:

make buildworld broken cur current cvsupped Tue May 11 01:11:02 GMT 1999
broken in /usr/src/usr.sbin/i4b/isdnmonitor/main.c

>Description:

major and minor conflict with defines in sys/types.h

>How-To-Repeat:

	make buildworld

>Fix:

103,104c103,104
< static int major = 0;
< static int minor = 0;
---
> static int i4b_major = 0;
> static int i4b_minor = 0;
453,454c453,454
< 			major = I4B_GET_2B(msg, I4B_MON_IDATA_VERSMAJOR);
< 			minor = I4B_GET_2B(msg, I4B_MON_IDATA_VERSMINOR);
---
> 			i4b_major = I4B_GET_2B(msg, I4B_MON_IDATA_VERSMAJOR);
> 			i4b_minor = I4B_GET_2B(msg, I4B_MON_IDATA_VERSMINOR);
459c459
< 				major, minor, nctrl, rights);
---
> 				i4b_major, i4b_minor, nctrl, rights);

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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