projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This fixes lash so it handles environment variable expansion, regardless
[oweals/busybox.git]
/
yes.c
diff --git
a/yes.c
b/yes.c
index 11fa537a0488a3238d086b543dba142f6e5f61a9..ad7b98f8418d370e749cfa4c112ca562ada60cc4 100644
(file)
--- a/
yes.c
+++ b/
yes.c
@@
-20,15
+20,16
@@
*
*/
-#include "internal.h"
#include <stdio.h>
+#include <stdlib.h>
+#include "busybox.h"
extern int yes_main(int argc, char **argv)
{
int i;
if (argc >= 2 && *argv[1] == '-')
-
usage(yes_usage
);
+
show_usage(
);
if (argc == 1) {
while (1)