diff options
Diffstat (limited to 'src/b_h.c')
-rw-r--r-- | src/b_h.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,7 +20,7 @@ #include "s_struct.h" #include "u_utils.h" -static void b_print_history(const char arg[], t_msh *msh) +static void b_print_history(const char arg[], uint64_t max_hist, t_msh *msh) { char *prev_hist; char *tok; @@ -35,7 +35,7 @@ static void b_print_history(const char arg[], t_msh *msh) tok = ft_strtok(prev_hist, "\n"); while (tok != NULL) { - ft_printf("%-5u %s\n", i, tok); + ft_printf("%5u %s\n", i, tok); i++; tok = ft_strtok(NULL, "\n"); } |