Subject: port-sparc/871: sparc MAKEDEV breaks on cgfour
To: None <gnats-admin@NetBSD.ORG>
From: None <sh391@city.ac.uk>
List: netbsd-bugs
Date: 03/13/1995 13:50:05
>Number:         871
>Category:       port-sparc
>Synopsis:       sparc MAKEDEV breaks on cgfour
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 13 13:50:04 1995
>Originator:     David Brownlee
>Organization:
Private
>Release:        12 March 95
>Environment:
sparc, 1.0A, current
System: NetBSD gluon.city.ac.uk 1.0A NetBSD 1.0A (GLUON) #1: Thu Feb 9 11:25:40 GMT 1995 monoadm@gluon.city.ac.uk:/mono/u1/NetBSD/src/sys/arch/sparc/compile/GLUON sparc


>Description:
	MAKEDEV cgfour0 breaks - also MAKEDEV all (as it tries cgfour0)
	Looks like the cgthree entry was just copied without taking into
	account cgfour is one shorter..

>How-To-Repeat:
	MAKEDEV cgfour0

>Fix:
*** etc/etc.sparc/MAKEDEV.orig	Mon Mar 13 21:38:50 1995
--- etc/etc.sparc/MAKEDEV	Mon Mar 13 21:39:03 1995
***************
*** 114,120 ****
  	;;
  
  cgfour*)
! 	unit=`expr $i : '.......\(.*\)'`
  	mknod cgfour$unit	c 39 $unit; chmod 666 cgfour$unit
  	;;
  
--- 114,120 ----
  	;;
  
  cgfour*)
! 	unit=`expr $i : '......\(.*\)'`
  	mknod cgfour$unit	c 39 $unit; chmod 666 cgfour$unit
  	;;
  
>Audit-Trail:
>Unformatted: