X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=oss_write.c;h=d583c2338bb1dc0dc96d274d49824d45a3b75c6e;hp=70a58203db8a2f2e3eca5cfc12506334ed7133da;hb=c0abcee0da53a6b399c3d16a62830aaa9ae21349;hpb=dd98d31d017bbbe16bf6711e0343b267dd6cfe89 diff --git a/oss_write.c b/oss_write.c index 70a58203..d583c233 100644 --- a/oss_write.c +++ b/oss_write.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include @@ -185,7 +184,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;