aboutsummaryrefslogtreecommitdiff
path: root/mp3fileout~.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp3fileout~.c')
-rw-r--r--mp3fileout~.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp3fileout~.c b/mp3fileout~.c
index 87ff56d..69e76fa 100644
--- a/mp3fileout~.c
+++ b/mp3fileout~.c
@@ -397,7 +397,7 @@ static void mp3fileout_open(t_mp3fileout *x, t_symbol *filename)
outlet_float( x->x_frames, x->x_outframes );
}
- if ( ( x->x_fd = open( filename->s_name, O_RDONLY ) ) < 0 )
+ if ( ( x->x_fd = sys_open( filename->s_name, O_RDONLY ) ) < 0 )
{
post( "mp3fileout~ : could not open file : %s", filename->s_name );
perror( "open" );