diff options
author | Cem Keylan <cem@ckyln.com> | 2021-07-14 14:39:31 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-14 14:39:31 +0300 |
commit | 89c23755c8ab5d8c5bbbfa6e40eb0c6bda109dad (patch) | |
tree | 0619d977ce4ceecca0523f20a0609a293440e030 /bin/pax/pat_rep.c | |
parent | 0ea3661a6ba0baaa39b95e836e8f2c87e2f4c20f (diff) | |
download | otools-89c23755c8ab5d8c5bbbfa6e40eb0c6bda109dad.tar.gz |
update CVS
Diffstat (limited to 'bin/pax/pat_rep.c')
-rw-r--r-- | bin/pax/pat_rep.c | 4 |
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)); } |