From: Yuri Chornoivan Date: Thu, 11 Apr 2013 17:51:39 +0000 (+0300) Subject: Fix various typos X-Git-Tag: v2.24-rc1~608 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef75bc880e579b977ea0f5e04029e2509a9c0b4a;p=thirdparty%2Futil-linux.git Fix various typos --- diff --git a/fdisks/fdisk-ask.c b/fdisks/fdisk-ask.c index 9d2f87ac3e..7495d8515f 100644 --- a/fdisks/fdisk-ask.c +++ b/fdisks/fdisk-ask.c @@ -207,7 +207,7 @@ int ask_callback(struct fdisk_context *cxt, struct fdisk_ask *ask, DBG(ASK, dbgprint("yes-no ask: reply '%s' [rc=%d]", buf, rc)); break; default: - warnx(_("internal error: unssuported dialog type %d"), fdisk_ask_get_type(ask)); + warnx(_("internal error: unsupported dialog type %d"), fdisk_ask_get_type(ask)); return -EINVAL; } return rc; diff --git a/fdisks/fdiskdoslabel.c b/fdisks/fdiskdoslabel.c index fe04ac7dc1..66e3bdc389 100644 --- a/fdisks/fdiskdoslabel.c +++ b/fdisks/fdiskdoslabel.c @@ -1096,8 +1096,8 @@ static int dos_set_parttype( if (is_dos_partition(t->type) || is_dos_partition(p->sys_ind)) printf( - _("\nWARNING: If you have created or modified any DOS 6.x" - "partitions, please see the fdisk manual page for additional" + _("\nWARNING: If you have created or modified any DOS 6.x " + "partitions, please see the fdisk manual page for additional " "information.\n\n")); p->sys_ind = t->type; diff --git a/fdisks/fdisksunlabel.c b/fdisks/fdisksunlabel.c index 2226f4c778..97819af594 100644 --- a/fdisks/fdisksunlabel.c +++ b/fdisks/fdisksunlabel.c @@ -136,7 +136,7 @@ static int sun_probe_label(struct fdisk_context *cxt) csum ^= *ush--; if (csum) { - fdisk_warnx(cxt, _("Detected sun disklabel with wrong checsum.\n" + fdisk_warnx(cxt, _("Detected sun disklabel with wrong checksum.\n" "Probably you'll have to set all the values,\n" "e.g. heads, sectors, cylinders and partitions\n" "or force a fresh label (s command in main menu)")); diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c index 482d4537cc..b929b843aa 100644 --- a/libfdisk/src/gpt.c +++ b/libfdisk/src/gpt.c @@ -165,7 +165,7 @@ static struct fdisk_parttype gpt_parttypes[] = DEF_GUID("EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", N_("Microsoft basic data")), DEF_GUID("5808C8AA-7E8F-42E0-85D2-E1E90434CFB3", N_("Microsoft LDM metadata")), DEF_GUID("AF9B60A0-1431-4F62-BC68-3311714A69AD", N_("Microsoft LDM data")), - DEF_GUID("DE94BBA4-06D1-4D40-A16A-BFD50179D6AC", N_("Windows recovery evironmnet")), + DEF_GUID("DE94BBA4-06D1-4D40-A16A-BFD50179D6AC", N_("Windows recovery evironment")), DEF_GUID("37AFFC90-EF7D-4E96-91C3-2D7AE055B174", N_("IBM General Parallel Fs")), /* HP-UX */ diff --git a/libmount/src/context.c b/libmount/src/context.c index af16f64721..08e3951f99 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -857,7 +857,7 @@ int mnt_context_set_options_pattern(struct libmnt_context *cxt, const char *patt * @cxt: mount context * @tb: fstab * - * The mount context reads /etc/fstab to the the private struct libmnt_table by default. + * The mount context reads /etc/fstab to the private struct libmnt_table by default. * This function allows to overwrite the private fstab with an external * instance. Note that the external instance is not deallocated by mnt_free_context(). * diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 41f772a6f6..8845e2e436 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -1363,7 +1363,7 @@ static void __attribute__((__noreturn__)) help(FILE *out) fputs(_(" -l, --list use list format output\n"), out); fputs(_(" -n, --noheadings don't print headings\n"), out); fputs(_(" -o, --output output columns\n"), out); - fputs(_(" -p, --paths print complate device path\n"), out); + fputs(_(" -p, --paths print complete device path\n"), out); fputs(_(" -P, --pairs use key=\"value\" output format\n"), out); fputs(_(" -r, --raw use raw output format\n"), out); fputs(_(" -s, --inverse inverse dependencies\n"), out); diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 626d861691..078b6ed4e1 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -719,7 +719,7 @@ and support filesystem subtypes. The subtype is defined by '.subtype' suffix. For example 'fuse.sshfs'. It's recommended to use subtype notation rather than add any prefix to the mount source (for example 'sshfs#example.com' is -depreacated). +deprecated). For most types all the .B mount diff --git a/sys-utils/setpriv.c b/sys-utils/setpriv.c index a547fd7ca1..9db3b9db9a 100644 --- a/sys-utils/setpriv.c +++ b/sys-utils/setpriv.c @@ -793,7 +793,7 @@ int main(int argc, char **argv) if (opts.have_securebits) if (prctl(PR_SET_SECUREBITS, opts.securebits, 0, 0, 0) != 0) - err(SETPRIV_EXIT_PRIVERR, _("set procecess securebits failed")); + err(SETPRIV_EXIT_PRIVERR, _("set process securebits failed")); if (opts.bounding_set) { do_caps(CAPNG_BOUNDING_SET, opts.bounding_set); diff --git a/text-utils/more.c b/text-utils/more.c index 496b1168f4..66de2bf943 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -1774,7 +1774,7 @@ void initterm(void) { int tgrp; /* Wait until we're in the foreground before we - * save the the terminal modes. */ + * save the terminal modes. */ if ((tgrp = tcgetpgrp(fileno(stdout))) < 0) { perror("tcgetpgrp"); exit(EXIT_FAILURE);