[PATCH 4/5] Spelling fixes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Ville Skyttä <ville.skytta@xxxxxx>
---
 Documentation/TODO           | 2 +-
 libfdisk/src/context.c       | 4 ++--
 libmount/src/context_mount.c | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/TODO b/Documentation/TODO
index 9596cce..fe67f12 100644
--- a/Documentation/TODO
+++ b/Documentation/TODO
@@ -11,7 +11,7 @@ hwlock
 bash completion
 ---------------
 - Optional argument handling requires user to press backspace to get
-  argument completetion.
+  argument completion.
 - Comma separated value, e.g., --output 'value1,value2', are not
   completed for users.
 
diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c
index c961392..7569e5b 100644
--- a/libfdisk/src/context.c
+++ b/libfdisk/src/context.c
@@ -146,7 +146,7 @@ static void reset_context(struct fdisk_context *cxt)
  * the device with read-write mode and will fallback to read-only if
  * unsuccessful.
  *
- * Returns: 0 on sucess, < 0 on error.
+ * Returns: 0 on success, < 0 on error.
  */
 int fdisk_context_assign_device(struct fdisk_context *cxt,
 				const char *fname, int readonly)
@@ -224,7 +224,7 @@ void fdisk_free_context(struct fdisk_context *cxt)
  * @ask_cb: callback
  * @data: callback data
  *
- * Returns: 0 on sucess, < 0 on error.
+ * Returns: 0 on success, < 0 on error.
  */
 int fdisk_context_set_ask(struct fdisk_context *cxt,
 		int (*ask_cb)(struct fdisk_context *, struct fdisk_ask *, void *),
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
index 3b280ab..d287361 100644
--- a/libmount/src/context_mount.c
+++ b/libmount/src/context_mount.c
@@ -24,7 +24,7 @@
 
 /*
  * Kernel supports only one MS_PROPAGATION flag change by one mount(2) syscall,
- * to bypass this restriction we call mount(2) per flag. It's realy not a perfect
+ * to bypass this restriction we call mount(2) per flag. It's really not a perfect
  * solution, but it's the same like to execute multiple mount(8) commands.
  *
  * We use cxt->addmounts (additional mounts) list to keep order of the requested
@@ -865,7 +865,7 @@ int mnt_context_do_mount(struct libmnt_context *cxt)
 	type = mnt_fs_get_fstype(cxt->fs);
 	if (type) {
 		if (strchr(type, ','))
-			/* this only happen if fstab countains list of filesystems */
+			/* this only happens if fstab contains list of filesystems */
 			res = do_mount_by_pattern(cxt, type);
 		else
 			res = do_mount(cxt, NULL);
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux