X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=oss_write.c;h=05669bb7df4f2eed850d20227d9b8c1225ecb4de;hp=70a58203db8a2f2e3eca5cfc12506334ed7133da;hb=d16fe3df649cb48d5ffa26187da3dad4c3066646;hpb=1c8226eae0e976d940366cd10bd708d8e4d0bca5 diff --git a/oss_write.c b/oss_write.c index 70a58203..05669bb7 100644 --- a/oss_write.c +++ b/oss_write.c @@ -9,9 +9,7 @@ #include #include #include -#include #include -#include #include "para.h" #include "fd.h" @@ -185,7 +183,7 @@ static void oss_post_select(__a_unused struct sched *s, bytes = btr_next_buffer(btrn, &data); frames = bytes / powd->bytes_per_frame; if (!frames) { /* eof and less than a single frame available */ - ret = -E_OSS_EOF; + ret = -E_WRITE_COMMON_EOF; goto out; } ret = 0;