aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
commit10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch)
tree82312d6f38a517dcc7c0004f78d76c667f5a674b /miscutils
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.bz2
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.zip
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 601df6465..db8ddce92 100644
--- a/miscutils/inotifyd.c
+++ b/miscutils/inotifyd.c
@@ -12,7 +12,7 @@
12 * Use as follows: 12 * Use as follows:
13 * # inotifyd /user/space/agent dir/or/file/being/watched[:mask] ... 13 * # inotifyd /user/space/agent dir/or/file/being/watched[:mask] ...
14 * 14 *
15 * When a filesystem event matching the specified mask is occured on specified file (or directory) 15 * When a filesystem event matching the specified mask is occurred on specified file (or directory)
16 * a userspace agent is spawned and given the following parameters: 16 * a userspace agent is spawned and given the following parameters:
17 * $1. actual event(s) 17 * $1. actual event(s)
18 * $2. file (or directory) name 18 * $2. file (or directory) name
diff --git a/miscutils/less.c b/miscutils/less.c
index 0b0a9aed4..507e579c4 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -267,7 +267,7 @@ struct globals {
267/* flines[] are lines read from stdin, each in malloc'ed buffer. 267/* flines[] are lines read from stdin, each in malloc'ed buffer.
268 * Line numbers are stored as uint32_t prepended to each line. 268 * Line numbers are stored as uint32_t prepended to each line.
269 * Pointer is adjusted so that flines[i] points directly past 269 * Pointer is adjusted so that flines[i] points directly past
270 * line number. Accesor: */ 270 * line number. Accessor: */
271#define MEMPTR(p) ((char*)(p) - 4) 271#define MEMPTR(p) ((char*)(p) - 4)
272#define LINENO(p) (*(uint32_t*)((p) - 4)) 272#define LINENO(p) (*(uint32_t*)((p) - 4))
273 273
diff --git a/miscutils/time.c b/miscutils/time.c
index a73a837d8..2be750664 100644
--- a/miscutils/time.c
+++ b/miscutils/time.c
@@ -397,7 +397,7 @@ static void run_command(char *const *cmd, resource_t *resp)
397 } 397 }
398 398
399 /* Have signals kill the child but not self (if possible). */ 399 /* Have signals kill the child but not self (if possible). */
400//TODO: just block all sigs? and reenable them in the very end in main? 400//TODO: just block all sigs? and re-enable them in the very end in main?
401 interrupt_signal = signal(SIGINT, SIG_IGN); 401 interrupt_signal = signal(SIGINT, SIG_IGN);
402 quit_signal = signal(SIGQUIT, SIG_IGN); 402 quit_signal = signal(SIGQUIT, SIG_IGN);
403 403