summaryrefslogtreecommitdiffstats
path: root/sys/isa/isa_common.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-02-24 23:24:01 +0000
committeralfred <alfred@FreeBSD.org>2002-02-24 23:24:01 +0000
commit82577a6d21f497904d29a5d605c5cb14e7e2027c (patch)
tree994da9839f83379e76932c1cf0d4c02168e26d8a /sys/isa/isa_common.c
parentb4c7fcd8a53e22daec42a622f070f3783dd7ce7a (diff)
downloadFreeBSD-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.c5
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);
OpenPOWER on IntegriCloud