Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -35,7 +35,7 @@
|
||||
#include "libbb.h"
|
||||
#include "unicode.h"
|
||||
|
||||
/* We often use "unsigned" intead of "int", it's easier to div on most CPUs */
|
||||
/* We often use "unsigned" instead of "int", it's easier to div on most CPUs */
|
||||
|
||||
#define THURSDAY 4 /* for reformation */
|
||||
#define SATURDAY 6 /* 1 Jan 1 was a Saturday */
|
||||
|
@ -167,7 +167,7 @@ static void from_sys_clock(const char **pp_rtcname, int utc)
|
||||
* On x86, even though code does set hw clock within <1ms of exact
|
||||
* whole seconds, apparently hw clock (at least on some machines)
|
||||
* doesn't reset internal fractional seconds to 0,
|
||||
* making all this a pointless excercise.
|
||||
* making all this a pointless exercise.
|
||||
*/
|
||||
/* If we see that we are N usec away from whole second,
|
||||
* we'll sleep for N-ADJ usecs. ADJ corrects for the fact
|
||||
|
@ -141,7 +141,7 @@ int renice_main(int argc UNUSED_PARAM, char **argv)
|
||||
retval = EXIT_FAILURE;
|
||||
}
|
||||
|
||||
/* No need to check for errors outputing to stderr since, if it
|
||||
/* No need to check for errors outputting to stderr since, if it
|
||||
* was used, the HAD_ERROR label was reached and retval was set. */
|
||||
|
||||
return retval;
|
||||
|
@ -183,7 +183,7 @@ So there's a step that needs to be sort of atomic but can't be as a shell
|
||||
script. (You can work around this with static linking or very carefully laid
|
||||
out paths and sequencing, but it's brittle, ugly, and non-obvious.)
|
||||
|
||||
2) The "find | rm" bit will acually delete everything because the mount points
|
||||
2) The "find | rm" bit will actually delete everything because the mount points
|
||||
still show up (even if their contents don't), and rm -rf will then happily zap
|
||||
that. So the first line is an oversimplification of what you need to do _not_
|
||||
to descend into other filesystems and delete their contents.
|
||||
|
@ -137,7 +137,7 @@ anchor:
|
||||
if (type != 2) /* TAG_ID_AVDP */
|
||||
goto found;
|
||||
|
||||
/* get desriptor list address and block count */
|
||||
/* get descriptor list address and block count */
|
||||
count = le32_to_cpu(vd->type.anchor.length) / bs;
|
||||
loc = le32_to_cpu(vd->type.anchor.location);
|
||||
dbg("0x%x descriptors starting at logical secor 0x%x", count, loc);
|
||||
|
Reference in New Issue
Block a user