summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/cal.c2
-rw-r--r--util-linux/hwclock.c2
-rw-r--r--util-linux/renice.c2
-rw-r--r--util-linux/switch_root.c2
-rw-r--r--util-linux/volume_id/udf.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/cal.c b/util-linux/cal.c
index af02608..8196619 100644
--- a/util-linux/cal.c
+++ b/util-linux/cal.c
@@ -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 */
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index d65011a..8cb908c 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -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
diff --git a/util-linux/renice.c b/util-linux/renice.c
index 64213c6..4da3394 100644
--- a/util-linux/renice.c
+++ b/util-linux/renice.c
@@ -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;
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index aaee35a..f18e8a5 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -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.
diff --git a/util-linux/volume_id/udf.c b/util-linux/volume_id/udf.c
index 613c80c..fa5dcce 100644
--- a/util-linux/volume_id/udf.c
+++ b/util-linux/volume_id/udf.c
@@ -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);