diff options
| -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 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); |
