Skip to contentSkip to conversation

main - cleanup: typo

PATCH Zdenek Kabelac 1 participant 1 message Mar 17, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=0363e4de70148c7fad5c46c40bc4db30be123545
Commit:        0363e4de70148c7fad5c46c40bc4db30be123545
Parent:        e6912cc61cd33e040dcab326b3ea7c292ff3f699
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Mar 15 18:59:15 2021 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Mar 15 18:59:15 2021 +0100

cleanup: typo

---
 lib/filters/filter-sysfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/filters/filter-sysfs.c +2 -2
index b626144b2..32ac324dd 100644
@@ -218,14 +218,14 @@ static int _read_devs(struct dev_set *ds, const char *dir, unsigned sysfs_depth)
 
 		if (dm_snprintf(path, sizeof(path), "%s/%s", dir,
 				 d->d_name) < 0) {
-			log_warn("WARGNING: sysfs path name too long: %s in %s.",
+			log_warn("WARNING: sysfs path name too long: %s in %s.",
 				 d->d_name, dir);
 			continue;
 		}
 
 		/* devices have a "dev" file */
 		if (dm_snprintf(file, sizeof(file), "%s/dev", path) < 0) {
-			log_warn("WARGNING: sysfs path name too long: %s in %s.",
+			log_warn("WARNING: sysfs path name too long: %s in %s.",
 				 d->d_name, dir);
 			continue;
 		}