aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-03-06 20:48:27 -0600
committerRob Landley <rob@landley.net>2012-03-06 20:48:27 -0600
commit9317c06e2d2081feb37ab36e626707f3a1205576 (patch)
tree879d781341a4018846fa8b3bed1d722a8fa4010a
parent688c74534227e3241a83e41b1f14a3f6b700f475 (diff)
downloadtoybox-9317c06e2d2081feb37ab36e626707f3a1205576.tar.gz
Comment and whitespace tweaks.
-rwxr-xr-xscripts/make.sh2
-rw-r--r--toys/cp.c2
-rw-r--r--toys/free.c1
-rw-r--r--toys/setsid.c3
-rw-r--r--toys/whoami.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index e0f6d4b3..f5bf0fdb 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -7,7 +7,7 @@ source ./configure
echo "Extract configuration information from toys/*.c files..."
scripts/genconfig.sh
-echo "Generate headers from toys/*.h..."
+echo "Generate headers from toys/*.c..."
# Create a list of all the applets toybox can provide. Note that the first
# entry is out of order on purpose (the toybox multiplexer applet must be the
diff --git a/toys/cp.c b/toys/cp.c
index 236c00f7..c3153e0a 100644
--- a/toys/cp.c
+++ b/toys/cp.c
@@ -180,7 +180,7 @@ void cp_main(void)
char *src = toys.optargs[i];
char *dst;
- // Skip src==dest (should check inodes to catch "cp blah ./blah").
+ // Skip src==dest (TODO check inodes to catch "cp blah ./blah").
if (!strcmp(src, TT.destname)) continue;
diff --git a/toys/free.c b/toys/free.c
index 229e5e97..99dca86d 100644
--- a/toys/free.c
+++ b/toys/free.c
@@ -16,6 +16,7 @@ config FREE
Display the total, free and used amount of physical memory and
swap space.
+
-bkmg Output in bytes (default), KB, MB or GB
*/
diff --git a/toys/setsid.c b/toys/setsid.c
index 949f392a..1b98315c 100644
--- a/toys/setsid.c
+++ b/toys/setsid.c
@@ -4,8 +4,7 @@
*
* Copyright 2006 Rob Landley <rob@landley.net>
*
- * Not in SUSv3.
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/
+ * Not in SUSv4.
USE_SETSID(NEWTOY(setsid, "^<1t", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/whoami.c b/toys/whoami.c
index a6415403..6d9233d1 100644
--- a/toys/whoami.c
+++ b/toys/whoami.c
@@ -13,7 +13,7 @@ config WHOAMI
help
usage: whoami
- Print effective user id.
+ Print effective user name.
*/
#include "toys.h"