X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..e07418c450a80fd9c95c410844af55d23ee82cb2:/lib/sink.c diff --git a/lib/sink.c b/lib/sink.c index 9450fea..7a74640 100644 --- 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) - fatal(errno, "error writing to %s", S(s)->name); + disorder_fatal(errno, "error writing to %s", S(s)->name); else return -1; }