diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libudev/libudev-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-util.c b/src/libudev/libudev-util.c index 0f8f634ca3..f4656277c6 100644 --- a/src/libudev/libudev-util.c +++ b/src/libudev/libudev-util.c @@ -216,7 +216,7 @@ int util_replace_whitespace(const char *str, char *to, size_t len) /* strip leading whitespace */ i = 0; - while (isspace(str[i]) && (i < len)) + while ((i < len) && isspace(str[i])) i++; j = 0; |