aboutsummaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
authormr-bronson <ghbugs@toeai.com>2024-08-21 15:28:22 +0000
committermr-bronson <ghbugs@toeai.com>2024-08-21 15:30:51 +0000
commit5225bdad29231862ae25d367cc29fa94e4c57480 (patch)
tree7938233547242a45b49911e60f6236e328407e08 /libmount/src
parent96ac92a3d2734f70562f210564f5c3dde60f722a (diff)
downloadutil-linux-5225bdad29231862ae25d367cc29fa94e4c57480.tar.gz
fix spelling and typos
A good start. Some lines moved because they were under a misspelled duplicate heading.
Diffstat (limited to 'libmount/src')
-rw-r--r--libmount/src/hook_mount.c2
-rw-r--r--libmount/src/optlist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/hook_mount.c b/libmount/src/hook_mount.c
index f564793031..736160f0e4 100644
--- a/libmount/src/hook_mount.c
+++ b/libmount/src/hook_mount.c
@@ -364,7 +364,7 @@ static int hook_reconfigure_mount(struct libmnt_context *cxt,
rc = configure_superblock(cxt, hs, api->fd_fs, 1);
if (!rc) {
- DBG(HOOK, ul_debugobj(hs, "re-configurate FS"));
+ DBG(HOOK, ul_debugobj(hs, "reconfigure FS"));
rc = fsconfig(api->fd_fs, FSCONFIG_CMD_RECONFIGURE, NULL, NULL, 0);
hookset_set_syscall_status(cxt, "fsconfig", rc == 0);
}
diff --git a/libmount/src/optlist.c b/libmount/src/optlist.c
index 317d7a39d2..11a7eed047 100644
--- a/libmount/src/optlist.c
+++ b/libmount/src/optlist.c
@@ -1259,7 +1259,7 @@ static const struct libmnt_optmap *get_map(const char *name)
static inline unsigned long str2flg(const char *str)
{
- return (unsigned long) strtox64_or_err(str, "connt convert string to flags");
+ return (unsigned long) strtox64_or_err(str, "can't convert string to flags");
}
static int test_append_str(struct libmnt_test *ts __attribute__((unused)),