summaryrefslogtreecommitdiffstats
path: root/sys/fs/udf
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2005-05-11 21:10:35 +0000
committerbrueffer <brueffer@FreeBSD.org>2005-05-11 21:10:35 +0000
commit7bc989441bb54bfafb2dd8c4d95801bd6a322ccc (patch)
treecee612df2290fbb4e848bf3bc9f81aa9a9e0854f /sys/fs/udf
parent91b47597be331175a062e1136fa8bc84e20d36f1 (diff)
downloadFreeBSD-src-7bc989441bb54bfafb2dd8c4d95801bd6a322ccc.zip
FreeBSD-src-7bc989441bb54bfafb2dd8c4d95801bd6a322ccc.tar.gz
Fix three typos in comments. Two of them obtained from OpenBSD.
MFC after: 3 days
Diffstat (limited to 'sys/fs/udf')
-rw-r--r--sys/fs/udf/udf_vnops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c
index b67bba4..c428305 100644
--- a/sys/fs/udf/udf_vnops.c
+++ b/sys/fs/udf/udf_vnops.c
@@ -205,7 +205,7 @@ udf_timetotimespec(struct timestamp *time, struct timespec *t)
t->tv_sec += time->hour * 3600;
t->tv_sec += time->day * 3600 * 24;
- /* Calclulate the month */
+ /* Calculate the month */
lpyear = udf_isaleapyear(year);
for (i = 1; i < time->month; i++)
t->tv_sec += mon_lens[lpyear][i] * 3600 * 24;
@@ -224,7 +224,7 @@ udf_timetotimespec(struct timestamp *time, struct timespec *t)
/*
* Calculate the time zone. The timezone is 12 bit signed 2's
- * compliment, so we gotta do some extra magic to handle it right.
+ * complement, so we gotta do some extra magic to handle it right.
*/
tz.u_tz_offset = le16toh(time->type_tz);
tz.u_tz_offset &= 0x0fff;
@@ -428,7 +428,7 @@ udf_transname(char *cs0string, char *destname, int len, struct udf_mnt *udfmp)
/*
* Compare a CS0 dstring with a name passed in from the VFS layer. Return
- * 0 on a successful match, nonzero therwise. Unicode work may need to be done
+ * 0 on a successful match, nonzero otherwise. Unicode work may need to be done
* here also.
*/
static int
OpenPOWER on IntegriCloud