summaryrefslogtreecommitdiffstats
path: root/src/b_h.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/b_h.c')
-rw-r--r--src/b_h.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/b_h.c b/src/b_h.c
index 60e80ca..0e968ff 100644
--- a/src/b_h.c
+++ b/src/b_h.c
@@ -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");
}