diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ int if (!(arg = (char*)ft_calloc(129, sizeof(char)))) return (1); i = 0; - while (read(1, &c, 1) > 0) + while (read(STDIN_FILENO, &c, 1) > 0) { if (c == '\n') break ; |