aboutsummaryrefslogtreecommitdiff
path: root/src/interpreter.c
diff options
context:
space:
mode:
authorChristopher Uhlig2025-01-20 20:10:11 +0100
committerChristopher Uhlig2025-01-20 20:10:11 +0100
commitdc6a4f2d0de92984c2584ef905011e2a60792850 (patch)
tree2fc0f567b1c4f2f168a931ad0bff69e52c6c226c /src/interpreter.c
parent852e00cb465b05f13aa6298ce71a1067c0846556 (diff)
downloadminishell-dc6a4f2d0de92984c2584ef905011e2a60792850.tar.gz
minishell-dc6a4f2d0de92984c2584ef905011e2a60792850.zip
yippienorm and change open error and change of wife
Diffstat (limited to 'src/interpreter.c')
-rw-r--r--src/interpreter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interpreter.c b/src/interpreter.c
index 44f4b95..9cd5292 100644
--- a/src/interpreter.c
+++ b/src/interpreter.c
@@ -6,7 +6,7 @@
/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/17 19:15:49 by chuhlig #+# #+# */
-/* Updated: 2025/01/20 19:12:49 by chuhlig ### ########.fr */
+/* Updated: 2025/01/20 20:07:11 by chuhlig ### ########.fr */
/* */
/* ************************************************************************** */
@@ -21,7 +21,7 @@ int open_file(char *path, int flags, int mode)
fd = open(path, flags, mode);
if (fd < 0)
- perror("open");
+ perror(path);
return (fd);
}