chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start a window layout chapter
[disorder]
/
lib
/
inputline.c
diff --git
a/lib/inputline.c
b/lib/inputline.c
index 5894546113b63a6970a4176a55cec8e60d99b4bf..b9a7df802f4972ce1b1bc25089212de4dd7dcbec 100644
(file)
--- a/
lib/inputline.c
+++ b/
lib/inputline.c
@@
-60,11
+60,11
@@
int inputline(const char *tag, FILE *fp, char **lp, int newline) {
}
}
if(ferror(fp)) {
}
}
if(ferror(fp)) {
- error(errno, "error reading %s", tag);
+
disorder_
error(errno, "error reading %s", tag);
return -1;
} else if(feof(fp)) {
if(d.nvec != 0)
return -1;
} else if(feof(fp)) {
if(d.nvec != 0)
- error(0, "error reading %s: unexpected EOF", tag);
+
disorder_
error(0, "error reading %s: unexpected EOF", tag);
return -1;
}
dynstr_terminate(&d);
return -1;
}
dynstr_terminate(&d);