X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3a9262974035b6b8efebffcdf50a2371f3636477..b66fecb428871a3eb274d9370671f1eaf8c5ccec:/src/src/dbfn.c?ds=sidebyside diff --git a/src/src/dbfn.c b/src/src/dbfn.c index 336cfe73e..5555c710b 100644 --- a/src/src/dbfn.c +++ b/src/src/dbfn.c @@ -209,7 +209,7 @@ if (created && geteuid() == root_uid) if (Ustat(filename, &statbuf) >= 0 && statbuf.st_uid != exim_uid) { DEBUG(D_hints_lookup) debug_printf_indent("ensuring %s is owned by exim\n", filename); - if (Uchown(filename, exim_uid, exim_gid)) + if (exim_chown(filename, exim_uid, exim_gid)) DEBUG(D_hints_lookup) debug_printf_indent("failed setting %s to owned by exim\n", filename); } }