aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/msgfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msgfile.c b/src/msgfile.c
index cf91178..0629a1f 100644
--- a/src/msgfile.c
+++ b/src/msgfile.c
@@ -672,7 +672,7 @@ static void msgfile_read2(t_msgfile *x, t_symbol *filename, t_symbol *format)
if (!(readbuf = t_getbytes(length))) {
pd_error(x, "msgfile_read: could not reserve %ld bytes to read into", length);
- flose(fil);
+ fclose(fil);
close(fd);
return;
}