chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support global prefs through eclient interface.
[disorder]
/
lib
/
sink.c
diff --git
a/lib/sink.c
b/lib/sink.c
index 9450feaa0eb4ec7cfc35c0471e2e6194b11a8e01..7a74640e585c5f55d2a17c6829ac172c4b8ed8df 100644
(file)
--- a/
lib/sink.c
+++ b/
lib/sink.c
@@
-77,7
+77,7
@@
static int sink_stdio_write(struct sink *s, const void *buffer, int nbytes) {
int n = fwrite(buffer, 1, nbytes, S(s)->fp);
if(n < nbytes) {
if(S(s)->name)
int n = fwrite(buffer, 1, nbytes, S(s)->fp);
if(n < nbytes) {
if(S(s)->name)
- fatal(errno, "error writing to %s", S(s)->name);
+
disorder_
fatal(errno, "error writing to %s", S(s)->name);
else
return -1;
}
else
return -1;
}