diff --git a/cucul/file.c b/cucul/file.c index 24ff4a1..60e3950 100644 --- a/cucul/file.c +++ b/cucul/file.c @@ -112,7 +112,7 @@ cucul_file_t *cucul_file_open(char const *path, const char *mode) } } # else - fp->f = fopen(path, fmode); + fp->f = fopen(path, mode); if(!fp->f) {