From 9e93004171eb0c4c288051b2d7bb37f97a0ae430 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sun, 29 May 2016 23:11:53 +0200 Subject: misc: Fix various typos Fix various typos in error messages, warnings, debug strings, comments and names of static functions. Signed-off-by: Sebastian Rasmussen --- sys-utils/fstrim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-utils/fstrim.c') 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; -- cgit v1.2.3-55-g7522