diff options
| author | Sebastian Rasmussen <sebras@gmail.com> | 2016-05-29 23:11:53 +0200 |
|---|---|---|
| committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-05-31 23:40:21 +0200 |
| commit | 9e93004171eb0c4c288051b2d7bb37f97a0ae430 (patch) | |
| tree | 369493906bb3c1c6f2554609c737ada0230f4b2e /lib/sysfs.c | |
| parent | d35df4db5bb6164b4f4f378e92394333ef5c68a3 (diff) | |
| download | util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.gz | |
misc: Fix various typos
Fix various typos in error messages, warnings, debug strings,
comments and names of static functions.
Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
Diffstat (limited to 'lib/sysfs.c')
| -rw-r--r-- | lib/sysfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sysfs.c b/lib/sysfs.c index 9e973a4f76..b6501291c9 100644 --- a/lib/sysfs.c +++ b/lib/sysfs.c @@ -623,7 +623,7 @@ static char *get_subsystem(char *chain, char *buf, size_t bufsz) } /* - * Returns complete path to the device, the patch contains all all sybsystems + * Returns complete path to the device, the patch contains all all subsystems * used for the device. */ char *sysfs_get_devchain(struct sysfs_cxt *cxt, char *buf, size_t bufsz) @@ -741,7 +741,7 @@ static int get_dm_wholedisk(struct sysfs_cxt *cxt, char *diskname, } /* - * Returns by @diskdevno whole disk device devno and (optionaly) by + * Returns by @diskdevno whole disk device devno and (optionally) by * @diskname the whole disk device name. */ int sysfs_devno_to_wholedisk(dev_t dev, char *diskname, @@ -758,7 +758,7 @@ int sysfs_devno_to_wholedisk(dev_t dev, char *diskname, /* * Extra case for partitions mapped by device-mapper. * - * All regualar partitions (added by BLKPG ioctl or kernel PT + * All regular partitions (added by BLKPG ioctl or kernel PT * parser) have the /sys/.../partition file. The partitions * mapped by DM don't have such file, but they have "part" * prefix in DM UUID. |
