summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/install.c1
-rw-r--r--src/mv.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/install.c b/src/install.c
index 9605bd86b..35c9d0b0d 100644
--- a/src/install.c
+++ b/src/install.c
@@ -174,6 +174,7 @@ cp_option_init (struct cp_options *x)
x->verbose = 0;
x->xstat = stat;
x->dest_info = NULL;
+ x->src_info = NULL;
}
int
diff --git a/src/mv.c b/src/mv.c
index 1266adbf5..5d1ebe176 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -149,6 +149,7 @@ cp_option_init (struct cp_options *x)
x->verbose = 0;
x->xstat = lstat;
x->dest_info = NULL;
+ x->src_info = NULL;
}
/* If PATH is an existing directory, return nonzero, else 0. */