summaryrefslogtreecommitdiff
path: root/libnm-util/nm-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-util/nm-utils.c')
-rw-r--r--libnm-util/nm-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libnm-util/nm-utils.c b/libnm-util/nm-utils.c
index 59bb5f6aea..47d0e8e457 100644
--- a/libnm-util/nm-utils.c
+++ b/libnm-util/nm-utils.c
@@ -1489,8 +1489,8 @@ nm_utils_uuid_generate_from_string (const char *s)
char *buf = NULL;
if (!nm_utils_init (&error)) {
- g_warning ("error initializing crypto: (%d) %s",
- error->code, error->message);
+ g_warning ("error initializing crypto: %s",
+ error->message);
if (error)
g_error_free (error);
return NULL;
@@ -1498,8 +1498,8 @@ nm_utils_uuid_generate_from_string (const char *s)
uuid = g_malloc0 (sizeof (*uuid));
if (!crypto_md5_hash (NULL, 0, s, strlen (s), (char *) uuid, sizeof (*uuid), &error)) {
- g_warning ("error generating UUID: (%d) %s",
- error->code, error->message);
+ g_warning ("error generating UUID: %s",
+ error->message);
if (error)
g_error_free (error);
goto out;