From 3f767efaa6662b8c5389100fd7d3b096fa22c72f Mon Sep 17 00:00:00 2001 From: night0721 Date: Sat, 10 Feb 2024 17:33:54 +0000 Subject: [PATCH] emergency fix --- rush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rush.c b/rush.c index 2960c52..410a12b 100644 --- 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);