commit 3135de5d6d7b11d612a950cf5f0086c4c5032721 parent 35908c0abb025d46c67d409499956f5e8c778c59 Author: Jan P. Pasierb <me@janpasierb.com> Date: Sat, 23 Dec 2023 17:06:41 +0000 forgot a ; Diffstat:
M | file.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/file.c b/file.c @@ -53,7 +53,7 @@ void editorOpen(char* filename) { free(line); fclose(fp); } else { - int fd = open(E.filename, O_RDONLY | O_CREAT, 0644) + int fd = open(E.filename, O_RDONLY | O_CREAT, 0644); if(fd == -1) die("fopen"); close(fd);