summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-22 19:48:17 +0000
committerJim Meyering <jim@meyering.net>2001-11-22 19:48:17 +0000
commita2e185c904c677c2d3eebcc8dd8894ec140f7ff0 (patch)
treed5d2c7673d94dda58a5596a21ac0546151cb02af
parent039ff08371a99ed7c60f4bcd0d0dc282e49f348b (diff)
downloadcoreutils-a2e185c904c677c2d3eebcc8dd8894ec140f7ff0.tar.xz
(cp_option_init): Initialize new member.
-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. */