scd: Add strerror to new error message.
authorWerner Koch <wk@gnupg.org>
Fri, 30 Nov 2018 11:38:51 +0000 (12:38 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 30 Nov 2018 11:38:51 +0000 (12:38 +0100)
* agent/call-scd.c (wait_child_thread): Add %s.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/call-scd.c

index 796e7d8..d0d4794 100644 (file)
@@ -275,7 +275,7 @@ wait_child_thread (void *arg)
 
       err = npth_mutex_unlock (&start_scd_lock);
       if (err)
-        log_error ("failed to release the start_scd lock after waitpid",
+        log_error ("failed to release the start_scd lock after waitpid: %s\n",
                    strerror (err));
     }