diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2016-04-05 08:58:49 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-04-05 14:32:00 +0200 |
commit | 5e78322088f838bb689fb8dc7494b1dd77064bb7 (patch) | |
tree | 5a36d0f587f56e5aba371516fd9bccfa322c2a33 | |
parent | e4c1699a83730adedf67e5720e5617d89103299b (diff) | |
download | NetworkManager-5e78322088f838bb689fb8dc7494b1dd77064bb7.tar.gz |
core: fix message format for failed creation of secret key
-rw-r--r-- | src/nm-core-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-core-utils.c b/src/nm-core-utils.c index b98b6e8abd..6cdd00e0d7 100644 --- a/src/nm-core-utils.c +++ b/src/nm-core-utils.c @@ -2788,7 +2788,7 @@ nm_utils_ipv6_addr_set_stable_privacy (struct in6_addr *addr, key_mask = umask (0077); if (read (urandom, secret_key, key_len) == key_len) { if (!g_file_set_contents (NMSTATEDIR "/secret_key", secret_key, key_len, error)) { - g_prefix_error (error, "Can't write " NMSTATEDIR "/secret_key"); + g_prefix_error (error, "Can't write " NMSTATEDIR "/secret_key: "); key_len = 0; } } else { |