aboutsummaryrefslogtreecommitdiff
path: root/bin/pax/pat_rep.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pax/pat_rep.c')
-rw-r--r--bin/pax/pat_rep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pax/pat_rep.c b/bin/pax/pat_rep.c
index deddca0..23f9b04 100644
--- a/bin/pax/pat_rep.c
+++ b/bin/pax/pat_rep.c
@@ -715,7 +715,7 @@ mod_name(ARCHD *arcn)
if ((res = rep_name(arcn->name, sizeof(arcn->name), &(arcn->nlen), 1)) != 0)
return(res);
- if (PAX_IS_LINK(arcn->type)) {
+ if (PAX_IS_HARDLINK(arcn->type)) {
if ((res = rep_name(arcn->ln_name,
sizeof(arcn->ln_name), &(arcn->ln_nlen), 0)) != 0)
return(res);
@@ -728,7 +728,7 @@ mod_name(ARCHD *arcn)
*/
if ((res = tty_rename(arcn)) != 0)
return(res);
- if (PAX_IS_LINK(arcn->type))
+ if (PAX_IS_HARDLINK(arcn->type))
sub_name(arcn->ln_name, &(arcn->ln_nlen),
sizeof(arcn->ln_name));
}