From 10ad622dc2a9fb6563fab13719ead8baf15ff9e4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 17 Apr 2017 16:13:32 +0200 Subject: Spelling fixes in comments, documentation, tests and examples By klemens Signed-off-by: Denys Vlasenko --- miscutils/inotifyd.c | 2 +- miscutils/less.c | 2 +- miscutils/time.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'miscutils') 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 @@ * 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 0b0a9aed4..507e579c4 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 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) } /* 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); -- cgit v1.2.3