aboutsummaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index d280766..de21786 100644
--- a/command.c
+++ b/command.c
@@ -42,7 +42,7 @@ getcommand(const char **name_out, enum libhashsum_algorithm *algorithm_out)
return BSUM;
specialised:
- if (!libhashsum_get_algorithm_string(algorithm_out, name))
+ if (!libhashsum_get_algorithm_from_string(algorithm_out, name))
eprintf("invalid command name, is not \"anysum\" and "
"does not match any known hash function");
if (strchr(name, '['))