From 4aa4ceabe8e265c5278f95edec619f8e77035d2e Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 20 Dec 2000 08:31:26 +0000 Subject: Display pathname of item being rm'ed. Submitted by: Peter Pentchev --- bin/rm/rm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/rm/rm.c b/bin/rm/rm.c index 7d01346..2ffeace 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -253,7 +253,7 @@ rm_tree(argv) if (rval == 0 || (fflag && errno == ENOENT)) { if (rval == 0 && vflag) (void)printf("%s\n", - p->fts_accpath); + p->fts_path); continue; } break; @@ -263,7 +263,7 @@ rm_tree(argv) if (rval == 0 && (fflag && errno == ENOENT)) { if (vflag) (void)printf("%s\n", - p->fts_accpath); + p->fts_path); continue; } break; @@ -275,7 +275,7 @@ rm_tree(argv) if (rval == 0 || (fflag && errno == ENOENT)) { if (rval == 0 && vflag) (void)printf("%s\n", - p->fts_accpath); + p->fts_path); continue; } } -- cgit v1.1