diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:11:10 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:11:10 +0200 |
commit | 462e664d0fdfbe2e9eae5c7e093c5a23b202dae8 (patch) | |
tree | cff5c7b5852874c8812bfa3dc04cc8df058a2238 /libft/src/ft_kernel_panic.c | |
parent | Some norm (diff) | |
download | 42-minishell-462e664d0fdfbe2e9eae5c7e093c5a23b202dae8.tar.gz 42-minishell-462e664d0fdfbe2e9eae5c7e093c5a23b202dae8.tar.bz2 42-minishell-462e664d0fdfbe2e9eae5c7e093c5a23b202dae8.tar.xz 42-minishell-462e664d0fdfbe2e9eae5c7e093c5a23b202dae8.tar.zst 42-minishell-462e664d0fdfbe2e9eae5c7e093c5a23b202dae8.zip |
Norm update
Diffstat (limited to '')
-rw-r--r-- | libft/src/ft_kernel_panic.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libft/src/ft_kernel_panic.c b/libft/src/ft_kernel_panic.c index 437a79a..980d4bc 100644 --- a/libft/src/ft_kernel_panic.c +++ b/libft/src/ft_kernel_panic.c @@ -13,12 +13,13 @@ #include <libft.h> #include <stdlib.h> -void - ft_kernel_panic(void) +void ft_kernel_panic(void) { - int *ptr; + int *ptr; while (1) + { ptr = (int *)ft_calloc((1024 * 1024) * sizeof(int), 1); + } free(ptr); } |