Skip to content

Commit

Permalink
Replace sudo_stat_plugin with sudo_qualify_plugin, as sudo_stat_plugi…
Browse files Browse the repository at this point in the history
…n does not exist

sudo_qualify_plugin was probably meant instead.
  • Loading branch information
AreaZR committed Aug 13, 2024
1 parent e3fd614 commit fb1d2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/load_plugins.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sudo_qualify_plugin(struct plugin_info *info, char *fullpath, size_t pathsize)
{
const char *plugin_dir = sudo_conf_plugin_dir_path();
int len;
debug_decl(sudo_stat_plugin, SUDO_DEBUG_PLUGIN);
debug_decl(sudo_qualify_plugin, SUDO_DEBUG_PLUGIN);

if (info->path[0] == '/') {
if (strlcpy(fullpath, info->path, pathsize) >= pathsize) {
Expand Down

0 comments on commit fb1d2f5

Please sign in to comment.