fixed norme

This commit is contained in:
mdev9
2024-02-21 13:15:46 +01:00
parent a9c8551ffc
commit 3d540f0d6d
13 changed files with 130 additions and 96 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/09 18:31:21 by tomoron #+# #+# */
/* Updated: 2024/02/16 21:19:30 by tomoron ### ########.fr */
/* Updated: 2024/02/21 12:47:39 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
@ -16,8 +16,8 @@ int pwd(void)
char *buffer;
buffer = getcwd(NULL, 0);
if(!buffer)
return(1);
if (!buffer)
return (1);
ft_printf("%s\n", buffer);
free(buffer);
return (0);