We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5500095 + d333ac1 commit 5d7f49dCopy full SHA for 5d7f49d
help.c
@@ -305,7 +305,7 @@ const char *help_unknown_cmd(const char *cmd)
305
add_cmd_list(&main_cmds, &aliases);
306
add_cmd_list(&main_cmds, &other_cmds);
307
qsort(main_cmds.names, main_cmds.cnt,
308
- sizeof(main_cmds.names), cmdname_compare);
+ sizeof(*main_cmds.names), cmdname_compare);
309
uniq(&main_cmds);
310
311
/* This abuses cmdname->len for levenshtein distance */
0 commit comments