From 1d314a32320a22f273aa106de8ec8420ec202d71 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Thu, 5 Mar 2020 21:59:22 -0500
Subject: [PATCH] use sys_fopen in for bonk~

---
 pd/extra/bonk~/bonk~.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pd/extra/bonk~/bonk~.c b/pd/extra/bonk~/bonk~.c
index f8b982553..f1b3bae7a 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;
-- 
GitLab