Subject: bin/167: patch to iostat.c
To: None <gnats-admin>
From: Jarle Greipsland <jarle@darling.idt.unit.no>
List: netbsd-bugs
Date: 03/15/1994 05:50:03
>Number:         167
>Category:       bin
>Synopsis:       iostat compile error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 15 05:50:02 1994
>Originator:     Jarle Greipsland
>Organization:
"Norwegian Institute of Technology"
>Release:        NetBSD-current of Mar 14. 1994
>Environment:
Intel Professional Workstation/GX, NetBSD-current, do. std.
System: NetBSD darling.idt.unit.no 0.9a SCSIROOT#20 i386


>Description:
iostat won't compile because of a lacking macro definition.
>How-To-Repeat:
(cd /usr/src/usr.sbin/iostat; make)
>Fix:
Apply the following patch:

*** iostat.c.orig	Tue Mar 15 14:03:10 1994
--- iostat.c	Tue Mar 15 14:07:02 1994
***************
*** 96,101 ****
  #endif
  #ifdef i386
! #define	X_ISA_BIO	(X_END+1)
! 	{ "_isa_subdev" },
  #endif
  	{ NULL },
--- 96,101 ----
  #endif
  #ifdef i386
! #define	X_ISADEVTAB	(X_END+1)
! 	{ "_isa_devtab" },
  #endif
  	{ NULL },
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------