realtype = mnt_get_fstype(src, &ambi, cache);
if (!realtype) {
- const char *raeson = errno ? strerror(errno) : _("reason unknown");
+ const char *reason = errno ? strerror(errno) : _("reason unknown");
if (isauto)
- verify_err(vfy, _("cannot detect on-disk filesystem type (%s)"), raeson);
+ verify_err(vfy, _("cannot detect on-disk filesystem type (%s)"), reason);
else
- verify_warn(vfy, _("cannot detect on-disk filesystem type (%s)"), raeson);
+ verify_warn(vfy, _("cannot detect on-disk filesystem type (%s)"), reason);
goto done;
}
fputs(_(" -M, --merge group parents of sub-trees (usable for RAIDs, Multi-path)\n"), out);
fputs(_(" -O, --output-all output all columns\n"), out);
fputs(_(" -P, --pairs use key=\"value\" output format\n"), out);
- fputs(_(" -Q, --filter <expr> print only lines maching the expression\n"), out);
- fputs(_(" --highlight <expr> colorize lines maching the expression\n"), out);
+ fputs(_(" -Q, --filter <expr> print only lines matching the expression\n"), out);
+ fputs(_(" --highlight <expr> colorize lines matching the expression\n"), out);
fputs(_(" --ct-filter <expr> restrict the next counter\n"), out);
fputs(_(" --ct <name>[:<param>[:<func>]] define a custom counter\n"), out);
fputs(_(" -S, --scsi output info about SCSI devices\n"), out);
err(SETPRIV_EXIT_PRIVERR, _("disallow granting new privileges for landlock failed"));
if (landlock_restrict_self(fd, 0) == -1)
- err(SETPRIV_EXIT_PRIVERR, _("landlock_restrict_self faild"));
+ err(SETPRIV_EXIT_PRIVERR, _("landlock_restrict_self failed"));
}
void usage_setpriv(FILE *out)
close_fdesc(tmp_netns, NULL);
close_unix_socket(sd, fdescs[2].data);
errno = e;
- err(EXIT_FAILURE, "failed to swich back to the original net namespace");
+ err(EXIT_FAILURE, "failed to switch back to the original net namespace");
}
return NULL;
{
.name = "interval",
.type = PTYPE_UINTEGER,
- .desc = "inteval in seconds",
+ .desc = "interval in seconds",
.defv.uinteger = 10,
},
{
.name = "interval-nanofrac",
.type = PTYPE_UINTEGER,
- .desc = "nsec part of inteval",
+ .desc = "nsec part of interval",
.defv.uinteger = 0,
},