Properly use fprintf... - pee - Pee a password manager;Pee - because you have to...
(HTM) git clone git://vernunftzentrum.de/pee.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 7777da6a41c52ab262aac89c4fa34a6ee9269b4b
(DIR) parent 6e21d1ce190a29dd0f8575cce529434fb1d4bd31
(HTM) Author: Christian Kellermann <ckeen@pestilenz.org>
Date: Mon, 11 Jan 2016 15:03:52 +0100
Properly use fprintf...
Diffstat:
pee.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/pee.scm b/pee.scm
@@ -368,7 +368,7 @@
(let* ((passphrase (get-hashed-passphrase))
(db (or (with-input-from-string
(or (decrypt-file db-name passphrase) "#f") read)
- (begin (fprintf (current-error-port) "Error while decrypting " db-name ", wrong key?") (exit 1)))))
+ (begin (fprintf (current-error-port) "Error while decrypting ~a, wrong key?~%" db-name) (exit 1)))))
(cond
((alist-ref 'change-passphrase opts)
(do-change-passphrase db-name db passphrase))