Add missing dfd argument to the version of sudo_edit_openat_nofollow()

for systems without O_NOFOLLOW.
This commit is contained in:
Todd C. Miller
2016-01-11 16:36:40 -07:00
parent 8ed9f6172a
commit 051fe2d4cf

View File

@@ -247,7 +247,7 @@ sudo_edit_is_symlink(int fd, char *path)
}
static int
sudo_edit_openat_nofollow(char *path, int oflags, mode_t mode)
sudo_edit_openat_nofollow(int dfd, char *path, int oflags, mode_t mode)
{
struct stat sb1, sb2;
int fd;