summaryrefslogtreecommitdiff
path: root/paxlib/rtape.c
diff options
context:
space:
mode:
Diffstat (limited to 'paxlib/rtape.c')
-rw-r--r--paxlib/rtape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/paxlib/rtape.c b/paxlib/rtape.c
index 29fad99..41f6ef1 100644
--- a/paxlib/rtape.c
+++ b/paxlib/rtape.c
@@ -467,7 +467,7 @@ rmt_open (const char *file_name, int open_mode, int bias,
return -1;
#endif
}
- remote_shell_basename = base_name (remote_shell);
+ remote_shell_basename = last_component (remote_shell);
/* Set up the pipes for the `rsh' command, and fork. */