fix error title

This commit is contained in:
Quinten Mennen 2025-02-26 16:56:24 +01:00
parent c8806e22c6
commit 4cb8ca86b9

View File

@ -15,10 +15,10 @@
void error_msg(char *func, char *msg) void error_msg(char *func, char *msg)
{ {
if (errno) if (errno)
perror(RED BOLD "msh" RESET); perror(RED BOLD "minishell" RESET);
else else
{ {
ft_putstr_fd(RED BOLD "msh" RESET ": ", 2); ft_putstr_fd(RED BOLD "minishell" RESET ": ", 2);
if (func != NULL) if (func != NULL)
{ {
ft_putstr_fd(func, 2); ft_putstr_fd(func, 2);