summaryrefslogtreecommitdiffstats
path: root/sys/dev/eisa
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-03-10 07:04:27 +0000
committergibbs <gibbs@FreeBSD.org>1996-03-10 07:04:27 +0000
commit11e0a995aaf4c458dd109d138aa1b9d1941adca1 (patch)
tree1ed5ac6b0acc99f35ab2cc07f1569e695ee0de7b /sys/dev/eisa
parent14667740f164aaf89daca80174e3c8234bae4f54 (diff)
downloadFreeBSD-src-11e0a995aaf4c458dd109d138aa1b9d1941adca1.zip
FreeBSD-src-11e0a995aaf4c458dd109d138aa1b9d1941adca1.tar.gz
aha1742.c:
Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. eisaconf.c: Cosmetic formatting chagnes.
Diffstat (limited to 'sys/dev/eisa')
-rw-r--r--sys/dev/eisa/eisaconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c
index 881eb2d..fa7f9eb 100644
--- a/sys/dev/eisa/eisaconf.c
+++ b/sys/dev/eisa/eisaconf.c
@@ -18,7 +18,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: eisaconf.c,v 1.15 1996/01/31 18:46:36 gibbs Exp $
+ * $Id: eisaconf.c,v 1.16 1996/02/26 01:01:41 gibbs Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -146,7 +146,7 @@ eisa_configure()
* be responsible for creating the list of devices in the system
* for the configuration manager to use.
*/
- e_dev->full_name = (char *)malloc(10*sizeof(char),
+ e_dev->full_name = (char *)malloc(8*sizeof(char),
M_DEVBUF, M_NOWAIT);
if (!e_dev->full_name) {
panic("Eisa probe unable to malloc");
@@ -335,14 +335,14 @@ eisa_reg_print(e_dev, string, separator)
{
int len = strlen(string);
- if( separator )
+ if(separator)
len++;
if(reg_state.column + len > MAX_COL) {
printf("\n");
reg_state.column = 0;
}
- else if( separator ) {
+ else if(separator) {
printf("%c", *separator);
reg_state.column++;
}
OpenPOWER on IntegriCloud