diff --git a/src/system/boot/loader/load_driver_settings.cpp b/src/system/boot/loader/load_driver_settings.cpp index cec73ca953..65aca1dce0 100644 --- a/src/system/boot/loader/load_driver_settings.cpp +++ b/src/system/boot/loader/load_driver_settings.cpp @@ -125,7 +125,7 @@ add_stage2_driver_settings(stage2_args* args) status_t -add_safe_mode_settings(char* settings) +add_safe_mode_settings(const char* settings) { if (settings == NULL || settings[0] == '\0') return B_OK; diff --git a/src/system/boot/loader/load_driver_settings.h b/src/system/boot/loader/load_driver_settings.h index a5ad2f86a6..02ae17c44c 100644 --- a/src/system/boot/loader/load_driver_settings.h +++ b/src/system/boot/loader/load_driver_settings.h @@ -9,7 +9,7 @@ #include -extern status_t add_safe_mode_settings(char *buffer); +extern status_t add_safe_mode_settings(const char *buffer); extern status_t add_stage2_driver_settings(stage2_args *args); extern status_t load_driver_settings(stage2_args *args, Directory *volume);