aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c
index d3ff0813..baa19a36 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -391,7 +391,7 @@ main(int argc, char** argv)
if (fclose(out_fd)) {
perror("serdi: write error");
- st = SERD_ERR_UNKNOWN;
+ st = SERD_BAD_STREAM;
}
return (st > SERD_FAILURE) ? 1 : 0;