summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/error.c b/error.c
index 704ae03..b7eb0d5 100644
--- a/error.c
+++ b/error.c
@@ -142,6 +142,11 @@ static void do_error(int code, va_list ap) {
flags = 0;
/* FIXME: need to get a filepos to here somehow */
break;
+ case err_cantopenw:
+ sp = va_arg(ap, char *);
+ sprintf(error, "unable to open output file `%.200s'", sp);
+ flags = PREFIX;
+ break;
}
if (flags & PREFIX)