46d3058341
copydir.c: In function 'copy_dir':
copydir.c:517:32: warning: passing argument 1 of 'copy_tree' from incompatible pointer type [-Wincompatible-pointer-types]
517 | return (copy_tree (src, dst, false, reset_selinux,
| ^~~
| |
| const struct path_info *
In file included from copydir.c:20:
../lib/prototypes.h:108:35: note: expected 'const char *' but argument is of type 'const struct path_info *'
108 | extern int copy_tree (const char *src_root, const char *dst_root,
| ~~~~~~~~~~~~^~~~~~~~
copydir.c:517:37: warning: passing argument 2 of 'copy_tree' from incompatible pointer type [-Wincompatible-pointer-types]
517 | return (copy_tree (src, dst, false, reset_selinux,
| ^~~
| |
| const struct path_info *
../lib/prototypes.h:108:57: note: expected 'const char *' but argument is of type 'const struct path_info *'
108 | extern int copy_tree (const char *src_root, const char *dst_root,
| ~~~~~~~~~~~~^~~~~~~~
Fixes:
|
||
---|---|---|
.. | ||
.indent.pro | ||
addgrps.c | ||
age.c | ||
agetpass.c | ||
audit_help.c | ||
basename.c | ||
btrfs.c | ||
chkname.c | ||
chkname.h | ||
chowndir.c | ||
chowntty.c | ||
cleanup_group.c | ||
cleanup_user.c | ||
cleanup.c | ||
console.c | ||
copydir.c | ||
date_to_str.c | ||
entry.c | ||
env.c | ||
failure.c | ||
failure.h | ||
find_new_gid.c | ||
find_new_sub_gids.c | ||
find_new_sub_uids.c | ||
find_new_uid.c | ||
getdate.h | ||
getdate.y | ||
getgr_nam_gid.c | ||
getrange.c | ||
gettime.c | ||
hushed.c | ||
idmapping.c | ||
idmapping.h | ||
isexpired.c | ||
limits.c | ||
list.c | ||
log.c | ||
loginprompt.c | ||
mail.c | ||
Makefile.am | ||
motd.c | ||
myname.c | ||
obscure.c | ||
pam_pass_non_interactive.c | ||
pam_pass.c | ||
prefix_flag.c | ||
pwd2spwd.c | ||
pwd_init.c | ||
pwdcheck.c | ||
remove_tree.c | ||
rlogin.c | ||
root_flag.c | ||
salt.c | ||
setugid.c | ||
setupenv.c | ||
shell.c | ||
strtoday.c | ||
sub.c | ||
sulog.c | ||
ttytype.c | ||
tz.c | ||
ulimit.c | ||
user_busy.c | ||
utmp.c | ||
valid.c | ||
xgetgrgid.c | ||
xgetgrnam.c | ||
xgetpwnam.c | ||
xgetpwuid.c | ||
xgetspnam.c | ||
xgetXXbyYY.c | ||
xmalloc.c | ||
yesno.c |