From d7b4e8b4409b5475f709e8fed7b744e0821c518d Mon Sep 17 00:00:00 2001 From: BALATON Zoltan Date: Fri, 17 Oct 2014 00:07:51 +0200 Subject: Fixed a typo in an error message --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.c b/src/common.c index f889087..5e061eb 100644 --- a/src/common.c +++ b/src/common.c @@ -129,7 +129,7 @@ int write_file(const char* filename, const void* data, size_t size) { debug("Writing data to %s\n", filename); file = fopen(filename, "wb"); if (file == NULL) { - error("read_file: Unable to open file %s\n", filename); + error("write_file: Unable to open file %s\n", filename); return -1; } -- cgit v1.1-32-gdbae