diff options
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_command.c | 2 | ||||
-rw-r--r-- | sys/ddb/ddb.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 6771abe..cf3c6b7 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -475,7 +475,7 @@ db_command_loop() void db_error(s) - char *s; + const char *s; { if (s) db_printf("%s", s); diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h index 1eb87ba..b706cc5 100644 --- a/sys/ddb/ddb.h +++ b/sys/ddb/ddb.h @@ -83,7 +83,7 @@ void db_check_interrupt(void); void db_clear_watchpoints(void); db_addr_t db_disasm(db_addr_t loc, boolean_t altfmt); /* instruction disassembler */ -void db_error(char *s); +void db_error(const char *s); int db_expression(db_expr_t *valuep); int db_get_variable(db_expr_t *valuep); void db_iprintf(const char *,...) __printflike(1, 2); |