diff options
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |