diff options
Diffstat (limited to 'agent/cache.c')
-rw-r--r-- | agent/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/cache.c b/agent/cache.c index 712da0c96..1c8a42bf9 100644 --- a/agent/cache.c +++ b/agent/cache.c @@ -185,7 +185,7 @@ new_data (const char *string, struct secret_data_s **r_data) d_enc->totallen = total; res = npth_mutex_lock (&encryption_lock); if (res) - log_fatal ("failed to acquire cache encryption mutex: %s\n", strerror (err)); + log_fatal ("failed to acquire cache encryption mutex: %s\n", strerror (res)); err = gcry_cipher_encrypt (encryption_handle, d_enc->data, total, d->data, total - 8); xfree (d); |