aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/asctime.c2
-rw-r--r--time/tst-clock.c2
-rw-r--r--time/tst-difftime.c2
-rw-r--r--time/tst-strptime2.c2
-rw-r--r--time/tzfile.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/time/asctime.c b/time/asctime.c
index d067103..7e2b102 100644
--- a/time/asctime.c
+++ b/time/asctime.c
@@ -41,7 +41,7 @@ asctime_internal (const struct tm *tp, char *buf, size_t buflen)
/* We limit the size of the year which can be printed. Using the %d
format specifier used the addition of 1900 would overflow the
- number and a negative vaue is printed. For some architectures we
+ number and a negative value is printed. For some architectures we
could in theory use %ld or an evern larger integer format but
this would mean the output needs more space. This would not be a
problem if the 'asctime_r' interface would be defined sanely and
diff --git a/time/tst-clock.c b/time/tst-clock.c
index 66f23ad..74a583f 100644
--- a/time/tst-clock.c
+++ b/time/tst-clock.c
@@ -110,7 +110,7 @@ do_test (void)
/* XXX It's not yet a bug when this fails. */
clock_test (cl);
else
- printf("CPU clock unavailble, skipping test\n");
+ printf("CPU clock unavailable, skipping test\n");
return result;
}
diff --git a/time/tst-difftime.c b/time/tst-difftime.c
index 7d2db59..4f0572e 100644
--- a/time/tst-difftime.c
+++ b/time/tst-difftime.c
@@ -30,7 +30,7 @@ test_difftime_helper (time_t t1, time_t t0, double exp_val)
static int
do_test (void)
{
- time_t t = 1383791700; /* Provide reproductible start value. */
+ time_t t = 1383791700; /* Provide reproducible start value. */
/* Check if difftime works with current time. */
test_difftime_helper (t + 1800, t - 1800, 3600.0);
diff --git a/time/tst-strptime2.c b/time/tst-strptime2.c
index 8019e7f..edd655e 100644
--- a/time/tst-strptime2.c
+++ b/time/tst-strptime2.c
@@ -37,7 +37,7 @@ static bool verbose;
Sign field consisting of a '+' or '-' sign,
Hours field in two decimal digits, and
optional Minutes field in two decimal digits. Optionally,
- a ':' is used to seperate hours and minutes.
+ a ':' is used to separate hours and minutes.
This function may write test strings with minutes values outside
the valid range 00-59. These are invalid strings and useful for
diff --git a/time/tzfile.c b/time/tzfile.c
index 9e27eba..a267eb6 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -130,7 +130,7 @@ __tzfile_read (const char *file, size_t extra, char **extrap)
{
/* We must not allow to read an arbitrary file in a setuid
program. So we fail for any file which is not in the
- directory hierachy starting at TZDIR
+ directory hierarchy starting at TZDIR
and which is not the system wide default TZDEFAULT. */
if (__libc_enable_secure
&& ((*file == '/'