summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-04-21 12:15:59 -0500
committerRob Landley <rob@landley.net>2013-04-21 12:15:59 -0500
commit933919cd8094e870b3e7a554605fd49b20ddb1e0 (patch)
tree43e45408ba26d5d8e972d8cef2bb5e2e69d120cc /main.c
parent553aacf6e39bb18dff87ce1a48210a97408b93dd (diff)
downloadtoybox-933919cd8094e870b3e7a554605fd49b20ddb1e0.tar.gz
toybox-933919cd8094e870b3e7a554605fd49b20ddb1e0.tar.bz2
toybox-933919cd8094e870b3e7a554605fd49b20ddb1e0.zip
Fix some comments from way back when toybox first started (in 2006), when I was still cleaning busybox-isms out of my head...
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 9370efd..ac49e9b 100644
--- a/main.c
+++ b/main.c
@@ -16,7 +16,7 @@ struct toy_list toy_list[] = {
#include "generated/newtoys.h"
};
-// global context for this applet.
+// global context for this command.
struct toy_context toys;
union global_union this;
@@ -32,7 +32,7 @@ struct toy_list *toy_find(char *name)
if (!strncmp(name,"toybox",6)) return toy_list;
bottom = 1;
- // Binary search to find this applet.
+ // Binary search to find this command.
top = ARRAY_LEN(toy_list)-1;
for (;;) {
@@ -123,7 +123,7 @@ void toybox_main(void)
}
}
- // Output list of applets.
+ // Output list of command.
for (i=1; i<ARRAY_LEN(toy_list); i++) {
int fl = toy_list[i].flags;
if (fl & TOYMASK_LOCATION) {