Skip to content

Commit d8a400c

Browse files
committed
Fix harmless typo in emscripten platform_nifs
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
1 parent 3044560 commit d8a400c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/emscripten/src/lib/platform_nifs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ const struct Nif *platform_nifs_get_nif(const char *nifname)
773773
if (strcmp("atomvm:random/0", nifname) == 0) {
774774
return &atomvm_random_nif;
775775
}
776-
if (memcmp("crypto:", nifname, strlen("crypro:")) == 0) {
776+
if (memcmp("crypto:", nifname, strlen("crypto:")) == 0) {
777777
return otp_crypto_nif_get_nif(nifname);
778778
}
779779
if (memcmp("emscripten:", nifname, strlen("emscripten:"))) {

0 commit comments

Comments
 (0)