aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending/tar.c')
-rw-r--r--toys/pending/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/tar.c b/toys/pending/tar.c
index 7d688241..7cad2729 100644
--- a/toys/pending/tar.c
+++ b/toys/pending/tar.c
@@ -175,7 +175,7 @@ static int add_to_tar(struct dirtree *node)
struct passwd *pw = pw;
struct group *gr = gr;
int i, fd =-1;
- char *c, *p, *name, *lnk, *hname;
+ char *c, *p, *name, *lnk = lnk, *hname;
if (!dirtree_notdotdot(node)) return 0;
if (TT.adev == st->st_dev && TT.aino == st->st_ino) {