aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 13:46:54 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 13:46:54 +0000
commita53de7f7c2cd3ac46b26642aafb1a573a096a80d (patch)
tree76b95b7a441628b3495f744bec5d862b5250f562 /shell/hush.c
parente1e5174942d4624e3abb8b98fe404afdbb4edad1 (diff)
downloadbusybox-w32-a53de7f7c2cd3ac46b26642aafb1a573a096a80d.tar.gz
busybox-w32-a53de7f7c2cd3ac46b26642aafb1a573a096a80d.tar.bz2
busybox-w32-a53de7f7c2cd3ac46b26642aafb1a573a096a80d.zip
- fix spelling
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 47cdf6f02..3dc27d9c2 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1466,7 +1466,7 @@ static void pseudo_exec_argv(char **ptrs2free, char **argv)
1466 1466
1467 debug_printf_exec("execing '%s'\n", argv[0]); 1467 debug_printf_exec("execing '%s'\n", argv[0]);
1468 execvp(argv[0], argv); 1468 execvp(argv[0], argv);
1469 bb_perror_msg("cannot exec '%s'", argv[0]); 1469 bb_perror_msg("can't exec '%s'", argv[0]);
1470 _exit(EXIT_FAILURE); 1470 _exit(EXIT_FAILURE);
1471} 1471}
1472 1472
@@ -4425,7 +4425,7 @@ static int builtin_source(char **argv)
4425 /* XXX search through $PATH is missing */ 4425 /* XXX search through $PATH is missing */
4426 input = fopen(argv[1], "r"); 4426 input = fopen(argv[1], "r");
4427 if (!input) { 4427 if (!input) {
4428 bb_error_msg("cannot open '%s'", argv[1]); 4428 bb_error_msg("can't open '%s'", argv[1]);
4429 return EXIT_FAILURE; 4429 return EXIT_FAILURE;
4430 } 4430 }
4431 close_on_exec_on(fileno(input)); 4431 close_on_exec_on(fileno(input));