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]
/
basename.c
diff --git
a/basename.c
b/basename.c
index cba003d70078fb251cb92436a2b32191be28ff79..da0b7ecc32adad5dfada4f184e9090ace7d6ee5c 100644
(file)
--- a/
basename.c
+++ b/
basename.c
@@
-21,8
+21,8
@@
*
*/
-#include "busybox.h"
#include <stdlib.h>
+#include "busybox.h"
#include <string.h>
extern int basename_main(int argc, char **argv)
@@
-31,7
+31,7
@@
extern int basename_main(int argc, char **argv)
char *s;
if ((argc < 2) || (**(argv + 1) == '-')) {
-
usage(basename_usage
);
+
show_usage(
);
}
argv++;