diff options
author | Sebastian Rasmussen | 2016-05-29 23:11:53 +0200 |
---|---|---|
committer | Sebastian Rasmussen | 2016-05-31 23:40:21 +0200 |
commit | 9e93004171eb0c4c288051b2d7bb37f97a0ae430 (patch) | |
tree | 369493906bb3c1c6f2554609c737ada0230f4b2e /sys-utils/fstrim.c | |
parent | docs: Fix various typos (diff) | |
download | kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.gz kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.xz kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.zip |
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 'sys-utils/fstrim.c')
-rw-r--r-- | sys-utils/fstrim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/fstrim.c b/sys-utils/fstrim.c index 6bbf1c99f..b764b0b33 100644 --- a/sys-utils/fstrim.c +++ b/sys-utils/fstrim.c @@ -121,7 +121,7 @@ static int has_discard(const char *devname, struct sysfs_cxt *wholedisk) return 1; /* * This is tricky to read the info from sys/, because the queue - * atrributes are provided for whole devices (disk) only. We're trying + * attributes are provided for whole devices (disk) only. We're trying * to reuse the whole-disk sysfs context to optimize this stuff (as * system usually have just one disk only). */ @@ -220,7 +220,7 @@ static int fstrim_all(struct fstrim_range *rangetpl, int verbose) continue; /* Is it really accessible mountpoint? Not all mountpoints are - * accessible (maybe over mounted by another fylesystem) */ + * accessible (maybe over mounted by another filesystem) */ path = mnt_get_mountpoint(tgt); if (path && strcmp(path, tgt) == 0) rc = 0; |