emergency fix

This commit is contained in:
Night Kaly 2024-02-10 17:33:54 +00:00
parent 5a67fcb3b5
commit 3f767efaa6
No known key found for this signature in database
GPG key ID: 8E829D3381CFEBBE

2
rush.c
View file

@ -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);