From c22075dc98fc79021e9a4847b57188f09b489ddd Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 19 May 2017 10:18:59 +0200 Subject: [PATCH] libnm: fix device description in fixup_desc_string() Fixes: b9e9f7616556f693e2642ed433f3289f9c6da452 (cherry picked from commit 12c881ad40c4829eb430bd0148fa5dbbdfd0ec01) --- libnm/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 7e8feb1cd5..6c27190783 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -1535,7 +1535,7 @@ fixup_desc_string (const char *desc) if (nm_utils_strv_find_first ((char **) IGNORED_WORDS, G_N_ELEMENTS (IGNORED_WORDS), - p) < 0) + p) >= 0) goto next; l = strlen (p);