From 051fe2d4cfe103fec0944ee41759380de0ba15f3 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 11 Jan 2016 16:36:40 -0700 Subject: [PATCH] Add missing dfd argument to the version of sudo_edit_openat_nofollow() for systems without O_NOFOLLOW. --- src/sudo_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sudo_edit.c b/src/sudo_edit.c index c09d79354..cc6476fa9 100644 --- a/src/sudo_edit.c +++ b/src/sudo_edit.c @@ -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; -- 2.50.1