diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-11 16:40:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 16:40:04 -0500 |
commit | 5aac0be024349b488a6ca9fb9e871fbd5aef7df4 (patch) | |
tree | 3fe35d098e0c2e2a0fd0e23aa4e84c19e3e75b32 /src/libudev/libudev-util.c | |
parent | 374e69225215aa25ea67b166ec4b61ad628d5021 (diff) | |
parent | 0a10235ed4538a80f5fc7dbbf79e3a1c178f5179 (diff) |
Merge pull request #4837 from ddstreet/master
Replace spaces in expanded fields in SYMLINK properties by default.
Diffstat (limited to 'src/libudev/libudev-util.c')
-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 574cfeac85..a9819b9db3 100644 --- a/src/libudev/libudev-util.c +++ b/src/libudev/libudev-util.c @@ -186,7 +186,7 @@ int util_replace_whitespace(const char *str, char *to, size_t len) to[j++] = str[i++]; } to[j] = '\0'; - return 0; + return j; } /* allow chars in whitelist, plain ascii, hex-escaping and valid utf8 */ |