From a01a10d2762e57a4dd689ed5686d1bdde6045b0d Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 12 Aug 2007 08:15:09 +0000 Subject: Use last_component instead of base_name. Patch by Eric Blake. --- lib/rtapelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/rtapelib.c b/lib/rtapelib.c index 2d53f3d..51faf3c 100644 --- a/lib/rtapelib.c +++ b/lib/rtapelib.c @@ -461,7 +461,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. */ -- cgit v1.2.1