From 467f463615e7329b267abea02da9ed9cedd2382b Mon Sep 17 00:00:00 2001 From: vda Date: Thu, 26 Oct 2006 23:25:17 +0000 Subject: rename functions to more understandable names git-svn-id: svn://busybox.net/trunk/busybox@16447 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/lash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/lash.c b/shell/lash.c index 96c0b3007..4067bc6bc 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -426,7 +426,7 @@ static int builtin_source(struct child_prog *child) FILE *input; int status; - input = bb_wfopen(child->argv[1], "r"); + input = fopen_or_warn(child->argv[1], "r"); if (!input) { return EXIT_FAILURE; } @@ -1522,7 +1522,7 @@ int lash_main(int argc_l, char **argv_l) llist_add_to(&close_me_list, (void *)(long)fileno(prof_input)); /* Now run the file */ busy_loop(prof_input); - bb_fclose_nonstdin(prof_input); + fclose_if_not_stdin(prof_input); llist_pop(&close_me_list); } } -- cgit v1.2.3-55-g6feb