From e901c15d890dbbdce4c086963cb1513653fc46b5 Mon Sep 17 00:00:00 2001 From: mjn3 Date: Wed, 19 Mar 2003 09:13:01 +0000 Subject: Major coreutils update. git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/run_shell.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbb/run_shell.c') diff --git a/libbb/run_shell.c b/libbb/run_shell.c index b26eba115..d154b9852 100644 --- a/libbb/run_shell.c +++ b/libbb/run_shell.c @@ -57,11 +57,11 @@ void run_shell ( const char *shell, int loginshell, const char *command, const c else args = (const char **) xmalloc (sizeof (char *) * 4 ); - args [0] = get_last_path_component ( xstrdup ( shell )); + args [0] = bb_get_last_path_component ( bb_xstrdup ( shell )); if ( loginshell ) { char *args0; - bb_asprintf ( &args0, "-%s", args [0] ); + bb_xasprintf ( &args0, "-%s", args [0] ); args [0] = args0; } @@ -75,6 +75,6 @@ void run_shell ( const char *shell, int loginshell, const char *command, const c } args [argno] = 0; execv ( shell, (char **) args ); - perror_msg_and_die ( "cannot run %s", shell ); + bb_perror_msg_and_die ( "cannot run %s", shell ); } -- cgit v1.2.3-55-g6feb