summaryrefslogtreecommitdiffstats
path: root/sbin/kget
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>1999-09-03 06:01:01 +0000
committermdodd <mdodd@FreeBSD.org>1999-09-03 06:01:01 +0000
commit1b6ed6875dc01239aef14eb5ebfd89a67aa11ade (patch)
tree5c33477daec8c672398cb77ede928b9b319f9cf3 /sbin/kget
parentfd9cb11e537843a4c4e049de57de82546b4e0f15 (diff)
downloadFreeBSD-src-1b6ed6875dc01239aef14eb5ebfd89a67aa11ade.zip
FreeBSD-src-1b6ed6875dc01239aef14eb5ebfd89a67aa11ade.tar.gz
Get this to compile again. struct pnp_cinfo went away so
this is just a temporary hack until someone figures out what they want to do with the override tables etc. Example copied: sys/isa/{pnp,sio}.c
Diffstat (limited to 'sbin/kget')
-rw-r--r--sbin/kget/kget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/kget/kget.c b/sbin/kget/kget.c
index 24e1cb2..7ee35ae 100644
--- a/sbin/kget/kget.c
+++ b/sbin/kget/kget.c
@@ -31,7 +31,9 @@
#include <sys/types.h>
#include <sys/sysctl.h>
#include <isa/isa_device.h>
+#if 0
#include <isa/pnp.h>
+#endif
struct isa_device *id;
struct pnp_cinfo *c;
@@ -111,6 +113,7 @@ main(int argc, char *argv[])
i+=sizeof(struct isa_device)+8;
}
free(buf);
+#if 0
/* Now, print the changes to PnP override table */
/* get the buffer size */
i=sysctlbyname(mib2,NULL,&len,NULL,NULL);
@@ -158,6 +161,7 @@ main(int argc, char *argv[])
} while ((i+=sizeof(struct pnp_cinfo))<len);
free(buf);
+#endif
finish:
fprintf(fout,"q\n");
fclose(fout);
OpenPOWER on IntegriCloud