diff --git a/pd/extra/bonk~/bonk~.c b/pd/extra/bonk~/bonk~.c index f8b982553e24e5f7b12c06486f09d0d6f4fcb8c5..f1b3bae7a96f7e62e411cc9be75edb964401e1f8 100644 --- a/pd/extra/bonk~/bonk~.c +++ b/pd/extra/bonk~/bonk~.c @@ -1150,7 +1150,7 @@ static void bonk_write(t_bonk *x, t_symbol *s) buf, MAXPDSTRING); sys_bashfilename(buf, buf); - if (!(fd = fopen(buf, "w"))) + if (!(fd = sys_fopen(buf, "w"))) { post("%s: couldn't create", s->s_name); return;