summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index fe687f5..d927725 100644
--- a/file.c
+++ b/file.c
@@ -194,7 +194,7 @@ bool file_open(struct file *file, const char *name, const struct file *related)
if (file->vcs)
return 1;
- fprintf(stderr, "could not open %s\n", name);
+ error("could not open %s\n", name);
fail:
free((char *) file->name);
return 0;