2023-12-17 14:56:48

by Gioele Barabucci

[permalink] [raw]
Subject: [PATCH 1/3] Fix typos in error messages

---
support/export/export.c | 2 +-
support/export/v4root.c | 2 +-
utils/mount/mount_libmount.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/support/export/export.c b/support/export/export.c
index 100912cb..2c8c3335 100644
--- a/support/export/export.c
+++ b/support/export/export.c
@@ -140,7 +140,7 @@ export_read(char *fname, int ignore_hosts)
continue;

if (exp->m_export.e_flags & NFSEXP_FSID) {
- xlog(L_ERROR, "When a reexport= option is present no manully assigned numerical fsid= options are allowed");
+ xlog(L_ERROR, "When a reexport= option is present no manually assigned numerical fsid= options are allowed");
return -1;
}
}
diff --git a/support/export/v4root.c b/support/export/v4root.c
index 03805dcb..c3b17a55 100644
--- a/support/export/v4root.c
+++ b/support/export/v4root.c
@@ -137,7 +137,7 @@ v4root_support(void)
if (!warned) {
xlog(L_WARNING, "Kernel does not have pseudo root support.");
xlog(L_WARNING, "NFS v4 mounts will be disabled unless fsid=0");
- xlog(L_WARNING, "is specfied in /etc/exports file.");
+ xlog(L_WARNING, "is specified in /etc/exports file.");
warned++;
}
return 0;
diff --git a/utils/mount/mount_libmount.c b/utils/mount/mount_libmount.c
index aa4ac5c3..fd6cb2cb 100644
--- a/utils/mount/mount_libmount.c
+++ b/utils/mount/mount_libmount.c
@@ -442,7 +442,7 @@ int main(int argc, char *argv[])
mnt_init_debug(0);
cxt = mnt_new_context();
if (!cxt) {
- nfs_error(_("Can't initilize libmount: %s"),
+ nfs_error(_("Can't initialize libmount: %s"),
strerror(errno));
rc = EX_FAIL;
goto done;
--
2.42.0