From 7613962ce99f9039adc6d4cdb525ab5bddc77fc2 Mon Sep 17 00:00:00 2001 From: Chiaki ISHIKAWA Date: Thu, 19 Mar 2015 00:34:48 +0900 Subject: [PATCH 2/2] Bug 11155: Log failure of opening hash file --- hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hash.c b/hash.c index 80beed2..7950737 100644 --- a/hash.c +++ b/hash.c @@ -128,6 +128,7 @@ hash_file(struct mdfour *md, const char *fname) fd = open(fname, O_RDONLY|O_BINARY); if (fd == -1) { + cc_log("Failed to open %s: %s", fname, strerror(errno)); return false; } -- 2.1.4