diff options
author | alfred <alfred@FreeBSD.org> | 2002-02-24 23:24:01 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-02-24 23:24:01 +0000 |
commit | 82577a6d21f497904d29a5d605c5cb14e7e2027c (patch) | |
tree | 994da9839f83379e76932c1cf0d4c02168e26d8a /sys/isa/isa_common.c | |
parent | b4c7fcd8a53e22daec42a622f070f3783dd7ce7a (diff) | |
download | FreeBSD-src-82577a6d21f497904d29a5d605c5cb14e7e2027c.zip FreeBSD-src-82577a6d21f497904d29a5d605c5cb14e7e2027c.tar.gz |
Fix style bugs:
Missing `const' qualifier.
Initialization in declaration.
Submitted by: mike
Diffstat (limited to 'sys/isa/isa_common.c')
-rw-r--r-- | sys/isa/isa_common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c index dee64e2..162d375 100644 --- a/sys/isa/isa_common.c +++ b/sys/isa/isa_common.c @@ -423,8 +423,9 @@ isa_assign_resources(device_t child) struct isa_device *idev = DEVTOISA(child); struct isa_config_entry *ice; struct isa_config *cfg; - char *reason = "Empty ISA id_configs"; - + const char *reason; + + reason = "Empty ISA id_configs"; cfg = malloc(sizeof(struct isa_config), M_TEMP, M_NOWAIT|M_ZERO); if (cfg == NULL) return(0); |