aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_music.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 19:12:10 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 19:12:10 +0100
commitf3aab6429d673342f4819f8a3c2857e48610689a (patch)
tree58bdf90289a564a527feab138a61d1304ee9f1d1 /src/ft_music.c
parentfork(3) going well, freed a leak (diff)
download42-cub3d-f3aab6429d673342f4819f8a3c2857e48610689a.tar.gz
42-cub3d-f3aab6429d673342f4819f8a3c2857e48610689a.tar.bz2
42-cub3d-f3aab6429d673342f4819f8a3c2857e48610689a.tar.xz
42-cub3d-f3aab6429d673342f4819f8a3c2857e48610689a.tar.zst
42-cub3d-f3aab6429d673342f4819f8a3c2857e48610689a.zip
it's going well
Diffstat (limited to 'src/ft_music.c')
-rw-r--r--src/ft_music.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_music.c b/src/ft_music.c
index 70bb1a1..4d25a3a 100644
--- a/src/ft_music.c
+++ b/src/ft_music.c
@@ -19,10 +19,9 @@
void
ft_music_fork(char *music_cmd)
{
- (void)music_cmd;
while (1)
{
- ft_printf("qweqwe\n");
+ ft_printf("%s\n", music_cmd);
sleep(1);
}
/* execve here */