1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-26 02:29:50 +05:30

str_replace.c: fix the typo in perror call

This commit is contained in:
Intel A80486DX2-66 2024-03-16 14:07:33 +03:00
parent f2746abffb
commit e0d686f033
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -38,7 +38,7 @@ char* str_replace(
char* result = malloc((new_len + 1) * sizeof(char));
if (result == NULL) {
perror("calloc");
perror("malloc");
exit(EXIT_FAILURE);
}