From: Milan Broz Date: Thu, 8 Apr 2010 19:15:25 +0000 (+0200) Subject: libblkid: fix some typos X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=114d4b2ad7e79ef0c724309f0e043738be93c61c;p=util-linux libblkid: fix some typos Signed-off-by: Milan Broz --- diff --git a/shlibs/blkid/src/topology/dm.c b/shlibs/blkid/src/topology/dm.c index 15c0842d..8f33911c 100644 --- a/shlibs/blkid/src/topology/dm.c +++ b/shlibs/blkid/src/topology/dm.c @@ -1,6 +1,6 @@ /* * device-mapper (dm) topology - * -- this is fallback for old systems where the toplogy information are not + * -- this is fallback for old systems where the topology information is not * exported by sysfs * * Copyright (C) 2009 Karel Zak diff --git a/shlibs/blkid/src/topology/evms.c b/shlibs/blkid/src/topology/evms.c index 7e796915..baab16ed 100644 --- a/shlibs/blkid/src/topology/evms.c +++ b/shlibs/blkid/src/topology/evms.c @@ -1,7 +1,7 @@ /* * Evms topology - * -- this is fallback for old systems where the toplogy information are not - * exporte dy sysfs + * -- this is fallback for old systems where the toplogy information is not + * exported by sysfs * * Copyright (C) 2009 Karel Zak * diff --git a/shlibs/blkid/src/topology/ioctl.c b/shlibs/blkid/src/topology/ioctl.c index 50b933c3..f18f8568 100644 --- a/shlibs/blkid/src/topology/ioctl.c +++ b/shlibs/blkid/src/topology/ioctl.c @@ -26,7 +26,7 @@ static struct topology_val { long ioc; - /* functions to set probing resut */ + /* functions to set probing result */ int (*set_ulong)(blkid_probe, unsigned long); int (*set_int)(blkid_probe, int); diff --git a/shlibs/blkid/src/topology/lvm.c b/shlibs/blkid/src/topology/lvm.c index c760dcbc..54438b0a 100644 --- a/shlibs/blkid/src/topology/lvm.c +++ b/shlibs/blkid/src/topology/lvm.c @@ -1,6 +1,6 @@ /* * lvm topology - * -- this is fallback for old systems where the toplogy information are not + * -- this is fallback for old systems where the topology information is not * exported by sysfs * * Copyright (C) 2009 Karel Zak diff --git a/shlibs/blkid/src/topology/md.c b/shlibs/blkid/src/topology/md.c index 77116163..a761e170 100644 --- a/shlibs/blkid/src/topology/md.c +++ b/shlibs/blkid/src/topology/md.c @@ -1,7 +1,7 @@ /* * Linux Software RAID (md) topology - * -- this is fallback for old systems where the toplogy information are not - * exporte dy sysfs + * -- this is fallback for old systems where the topology information is not + * exported by sysfs * * Copyright (C) 2009 Karel Zak * diff --git a/shlibs/blkid/src/topology/topology.c b/shlibs/blkid/src/topology/topology.c index 1162cb0e..f39f49fb 100644 --- a/shlibs/blkid/src/topology/topology.c +++ b/shlibs/blkid/src/topology/topology.c @@ -17,9 +17,9 @@ /** * SECTION:topology * @title: Topology information - * @short_description: block device tolology information. + * @short_description: block device topology information. * - * The tolology chain provides details about Linux block devices, for more + * The topology chain provides details about Linux block devices, for more * information see: * * Linux kernel Documentation/ABI/testing/sysfs-block @@ -40,7 +40,7 @@ * @OPTIMAL_IO_SIZE: usually the stripe width for RAID or zero. For RAID arrays * it is usually the stripe width or the internal track size. * - * @ALIGNMENT_OFFSET: indicates how many bytes the beginning o the device is + * @ALIGNMENT_OFFSET: indicates how many bytes the beginning of the device is * offset from the disk's natural alignment. * * The NAME=value tags are not defined when the corresponding topology value @@ -49,7 +49,7 @@ * * Binary interface: * - * blkid_probe_get_tolology() + * blkid_probe_get_topology() * * blkid_topology_get_'VALUENAME'() */ @@ -126,13 +126,13 @@ int blkid_probe_enable_topology(blkid_probe pr, int enable) * * WARNING: the returned object will be overwritten by the next * blkid_probe_get_topology() call for the same @pr. If you want to - * use more blkid_tolopogy objects in the same time you have to create + * use more blkid_topopogy objects in the same time you have to create * more blkid_probe handlers (see blkid_new_probe()). * * TODO: add blkid_ref() and blkid_unref() to allows to use blkid_topology * independently on libblkid probing stuff. * - * Returns: blkid_tolopogy, or NULL in case of error. + * Returns: blkid_topopogy, or NULL in case of error. */ blkid_topology blkid_probe_get_topology(blkid_probe pr) { @@ -231,7 +231,7 @@ static int topology_set_value(blkid_probe pr, const char *name, } /* the topology info is complete when we have at least "minimum_io_size" which - * is provides by all blkid topology drivers */ + * is provided by all blkid topology drivers */ static int topology_is_complete(blkid_probe pr) { struct blkid_chain *chn = blkid_probe_get_chain(pr); @@ -252,7 +252,7 @@ int blkid_topology_set_alignment_offset(blkid_probe pr, int val) { unsigned long xval; - /* Welcome to Hell. The kernel is able to returns -1 as an + /* Welcome to Hell. The kernel is able to return -1 as an * alignment_offset if no compatible sizes and alignments * exist for stacked devices. * @@ -287,7 +287,7 @@ int blkid_topology_set_optimal_io_size(blkid_probe pr, unsigned long val) } /* BLKSSZGET is provided on all systems since 2.3.3 -- so we don't have to - * waste time with sysfs or or. + * waste time with sysfs. */ static int topology_set_logical_sector_size(blkid_probe pr) {