about summary refs log tree commit diff
path: root/libnm-core/nm-keyfile-utils.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-12-12 15:53:47 +0100
committerMichael Biebl <biebl@debian.org>2017-12-12 15:53:47 +0100
commit743faa81fda27a9c03298e8d6074623dc30db606 (patch)
tree28418e92b22530bb05f043084626291ed1e3d46b /libnm-core/nm-keyfile-utils.c
parent8dda18a856c2a05cefcab6278469c9d8df30f935 (diff)
parentafcd268ea7b1149fbfb66bce4eca659b675da0a2 (diff)
Update upstream source from tag 'upstream/1.10.2'
Update to upstream version '1.10.2'
with Debian dir 41691ea145b392588cd4e9e7496b61d5a95965fb
Diffstat (limited to 'libnm-core/nm-keyfile-utils.c')
-rw-r--r--libnm-core/nm-keyfile-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-keyfile-utils.c b/libnm-core/nm-keyfile-utils.c
index 1b7860d8..88583319 100644
--- a/libnm-core/nm-keyfile-utils.c
+++ b/libnm-core/nm-keyfile-utils.c
@@ -442,7 +442,7 @@ _keyfile_key_encode (const char *name,
 		        && g_ascii_isxdigit (name[i + 2]))
 		    || (   ch == ' '
 		        && name[i + 1] == '\0'))
-			g_string_append_printf (str, "\\%2X", ch);
+			g_string_append_printf (str, "\\%02X", ch);
 		else
 			g_string_append_c (str, (char) ch);
 	}