Make sudo pass -Wwrite-strings

This commit is contained in:
Todd C. Miller
2022-06-28 16:33:15 -06:00
parent b3a8cad346
commit 13672f28df
77 changed files with 590 additions and 640 deletions

View File

@@ -46,7 +46,7 @@ const char *path_plugin_dir = _PATH_SUDO_PLUGIN_DIR;
* the value from the plugin's init function.
*/
int
group_plugin_load(char *plugin_info)
group_plugin_load(const char *plugin_info)
{
struct stat sb;
char *args, path[PATH_MAX];