fixed norme
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user