aboutsummaryrefslogtreecommitdiffstats
path: root/src/fcopy/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcopy/main.c')
-rw-r--r--src/fcopy/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fcopy/main.c b/src/fcopy/main.c
index e3a04a515..b1e2813db 100644
--- a/src/fcopy/main.c
+++ b/src/fcopy/main.c
@@ -102,6 +102,9 @@ static void mkdir_attr(const char *fname, mode_t mode, uid_t uid, gid_t gid) {
102} 102}
103 103
104void copy_link(const char *target, const char *linkpath, mode_t mode, uid_t uid, gid_t gid) { 104void copy_link(const char *target, const char *linkpath, mode_t mode, uid_t uid, gid_t gid) {
105 (void) mode;
106 (void) uid;
107 (void) gid;
105 char *rp = realpath(target, NULL); 108 char *rp = realpath(target, NULL);
106 if (rp) { 109 if (rp) {
107 if (symlink(rp, linkpath) == -1) 110 if (symlink(rp, linkpath) == -1)