rem: dprintf("_user_debugger(): Failed to install debugger. Message is: " "`%s'\n", message);
add: char buffer[128]; ssize_t length = user_strlcpy(buffer, userMessage, sizeof(buffer)); if (length >= 0) { dprintf("_user_debugger(): Failed to install debugger. Message is: " "`%s'\n", buffer); } else { dprintf("_user_debugger(): Failed to install debugger. Message is: " "%p (%s)\n", userMessage, strerror(length)); }
context: _user_debugger(const char *message){	// install the default debugger, if there is none yet	status_t error = ensure_debugger_installed(B_CURRENT_TEAM);	if (error != B_OK) {		// time to commit suicide		dprintf("_user_debugger(): Failed to install debugger. Message is: "			"`%s'\n", message);		_user_exit_team(1);	}	// notify the debugger	stop_thread(B_DEBUGGER_CALL, (void*)message);}