commit 3f767efaa6662b8c5389100fd7d3b096fa22c72f parent 5a67fcb3b5cb52dbd96acdc8972af276d9c78463 Author: night0721 <[email protected]> Date: Sat, 10 Feb 2024 17:33:54 +0000 emergency fix Diffstat:
M | rush.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rush.c b/rush.c @@ -15,7 +15,7 @@ #include "commands.h" void *memalloc(size_t size) { - void *ptr = memalloc(size); + void *ptr = malloc(size); if (!ptr) { fputs("rush: Error allocating memory\n", stderr); exit(EXIT_FAILURE);