Module Name: src
Committed By: maxv
Date: Mon Dec 29 16:37:27 UTC 2014
Modified Files:
src/sys/fs/ntfs: ntfs_subr.c
Log Message:
Typos:
- "nessesary" -> "necessary" (comment)
- "UNEXISTED" -> "NON-EXISTENT" (dprintf)
- "NON-EXISTANT" -> "NON-EXISTENT" (dprintf)
- "reach" -> "reaches" (comment)
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/fs/ntfs/ntfs_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/ntfs/ntfs_subr.c
diff -u src/sys/fs/ntfs/ntfs_subr.c:1.55 src/sys/fs/ntfs/ntfs_subr.c:1.56
--- src/sys/fs/ntfs/ntfs_subr.c:1.55 Sun Dec 28 14:42:56 2014
+++ src/sys/fs/ntfs/ntfs_subr.c Mon Dec 29 16:37:27 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: ntfs_subr.c,v 1.55 2014/12/28 14:42:56 maxv Exp $ */
+/* $NetBSD: ntfs_subr.c,v 1.56 2014/12/29 16:37:27 maxv Exp $ */
/*-
* Copyright (c) 1998, 1999 Semen Ustimenko ([email protected])
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ntfs_subr.c,v 1.55 2014/12/28 14:42:56 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ntfs_subr.c,v 1.56 2014/12/29 16:37:27 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -150,7 +150,7 @@ ntfs_findvattr(struct ntfsmount *ntmp, s
/*
* Search attribute specified in ntnode (load ntnode if necessary).
* If not found but ATTR_A_ATTRLIST present, read it in and search through.
- * VOP_VGET node needed, and lookup through its ntnode (load if nessesary).
+ * VOP_VGET node needed, and lookup through its ntnode (load if necessary).
*
* ntnode should be locked
*/
@@ -186,7 +186,7 @@ ntfs_ntvattrget(struct ntfsmount *ntmp,
return (error);
if (!lvap) {
- dprintf(("%s: UNEXISTED ATTRIBUTE: "
+ dprintf(("%s: NON-EXISTENT ATTRIBUTE: "
"ino: %llu, type: 0x%x, name: %s, vcn: %qu\n", __func__,
(unsigned long long)ip->i_number, type, name,
(long long)vcn));
@@ -243,7 +243,7 @@ ntfs_ntvattrget(struct ntfsmount *ntmp,
}
error = ENOENT;
- dprintf(("%s: NON-EXISTANT ATTRIBUTE: ino: %llu, type: 0x%x, "
+ dprintf(("%s: NON-EXISTENT ATTRIBUTE: ino: %llu, type: 0x%x, "
"name: %.*s, vcn: %qu\n", __func__,
(unsigned long long)ip->i_number, type, (int)namelen,
name, (long long)vcn));
@@ -433,7 +433,7 @@ ntfs_ntlookup(struct ntfsmount *ntmp, in
}
/*
- * Decrement usecount of ntnode and unlock it, if usecount reach zero,
+ * Decrement usecount of ntnode and unlock it, if usecount reaches zero,
* deallocate ntnode.
*
* ntnode should be locked on entry, and unlocked on return.