From 0077e8223beb2997f9d07dd9e1553a8cad3b47c1 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Sun, 24 Feb 2002 23:24:01 +0000 Subject: [PATCH] Fix style bugs: Missing `const' qualifier. Initialization in declaration. Submitted by: mike --- sys/isa/isa_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c index dee64e20a9b8..162d3751b34e 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);