diff options
author | Miles Bader <miles@gnu.org> | 1995-10-18 17:21:04 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-10-18 17:21:04 +0000 |
commit | 2b18b710ac288b9554d6d6e336f4d736daf07d61 (patch) | |
tree | 866efa907d558c0518a6ab13e1fd2016eb08be48 /ufs-fsck | |
parent | 8c5c458159bf017fe3c98c0b125a31708ae65e4c (diff) |
(pass3): Use changed pinode.
(pass3): Call pfix instead of printf.
Diffstat (limited to 'ufs-fsck')
-rw-r--r-- | ufs-fsck/pass3.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ufs-fsck/pass3.c b/ufs-fsck/pass3.c index 2af148ee..7353c9f2 100644 --- a/ufs-fsck/pass3.c +++ b/ufs-fsck/pass3.c @@ -57,13 +57,13 @@ pass3 () { if (inodestate[dnp->i_number] & DIR_REF) errexit ("ORPHANED DIR MARKED WITH CONNECT"); - pwarn ("UNREF DIR"); - pinode (dnp->i_number); - if (preen) - printf (" (RECONNECTED)"); + pinode (dnp->i_number, "UNREF"); if (preen || reply ("RECONNECT")) - if (linkup (dnp->i_number, dnp->i_dotdot)) - dnp->i_parent = dnp->i_dotdot = lfdir; + { + if (linkup (dnp->i_number, dnp->i_dotdot)) + dnp->i_parent = dnp->i_dotdot = lfdir; + pfix ("RECONNECTED"); + } } } } |