summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko2017-04-17 16:13:32 +0200
committerDenys Vlasenko2017-04-17 16:13:32 +0200
commit10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch)
tree82312d6f38a517dcc7c0004f78d76c667f5a674b /miscutils
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.zip
busybox-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz
Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/inotifyd.c2
-rw-r--r--miscutils/less.c2
-rw-r--r--miscutils/time.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/inotifyd.c b/miscutils/inotifyd.c
index 601df64..db8ddce 100644
--- a/miscutils/inotifyd.c
+++ b/miscutils/inotifyd.c
@@ -12,7 +12,7 @@
* Use as follows:
* # inotifyd /user/space/agent dir/or/file/being/watched[:mask] ...
*
- * When a filesystem event matching the specified mask is occured on specified file (or directory)
+ * When a filesystem event matching the specified mask is occurred on specified file (or directory)
* a userspace agent is spawned and given the following parameters:
* $1. actual event(s)
* $2. file (or directory) name
diff --git a/miscutils/less.c b/miscutils/less.c
index 0b0a9ae..507e579 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -267,7 +267,7 @@ struct globals {
/* flines[] are lines read from stdin, each in malloc'ed buffer.
* Line numbers are stored as uint32_t prepended to each line.
* Pointer is adjusted so that flines[i] points directly past
- * line number. Accesor: */
+ * line number. Accessor: */
#define MEMPTR(p) ((char*)(p) - 4)
#define LINENO(p) (*(uint32_t*)((p) - 4))
diff --git a/miscutils/time.c b/miscutils/time.c
index a73a837..2be7506 100644
--- a/miscutils/time.c
+++ b/miscutils/time.c
@@ -397,7 +397,7 @@ static void run_command(char *const *cmd, resource_t *resp)
}
/* Have signals kill the child but not self (if possible). */
-//TODO: just block all sigs? and reenable them in the very end in main?
+//TODO: just block all sigs? and re-enable them in the very end in main?
interrupt_signal = signal(SIGINT, SIG_IGN);
quit_signal = signal(SIGQUIT, SIG_IGN);