diff options
-rw-r--r-- | ascwave.c | 2 | ||||
-rw-r--r-- | proc.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -49,7 +49,7 @@ static void ascwave_open(t_ascwave *x, t_symbol *filename) post("ascwave: open"); x->filename = filename; post("ascwave: filename = %s",x->filename->s_name); - if ((x->x_file = fopen(x->filename->s_name,"w")) < 0) + if ((x->x_file = sys_fopen(x->filename->s_name,"w")) < 0) { error("can't create %s",filename->s_name); return; @@ -57,7 +57,7 @@ void proc_cpuinfo(t_proc *x) restf = 0; ac = 0; - fp = fopen(name,"r"); + fp = sys_fopen(name,"r"); if (!fp) { post("cxc/proc.c: unable to open %s",name); return; @@ -121,7 +121,7 @@ void proc_proc(t_proc *x, t_symbol *s) restf = 0; ac = 0; - fp = fopen(name,"r"); + fp = sys_fopen(name,"r"); if (!fp) { post("cxc/proc.c: unable to open %s",name); return; |