Skip to content

Commit

Permalink
Runtime: fix error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Feb 3, 2025
1 parent ac47aa5 commit ad605a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/js/unix.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function caml_unix_stat(name) {
function caml_unix_stat_64(name) {
var root = resolve_fs_device(name);
if (!root.device.stat) {
caml_failwith("caml_unix_stat: not implemented");
caml_failwith("caml_unix_stat_64: not implemented");
}
return root.device.stat(
root.rest,
Expand Down Expand Up @@ -250,7 +250,7 @@ function caml_unix_lstat(name) {
function caml_unix_lstat_64(name) {
var root = resolve_fs_device(name);
if (!root.device.lstat) {
caml_failwith("caml_unix_lstat: not implemented");
caml_failwith("caml_unix_lstat_64: not implemented");
}
return root.device.lstat(
root.rest,
Expand Down Expand Up @@ -363,7 +363,7 @@ function caml_unix_truncate(name, len) {
function caml_unix_truncate_64(name, len) {
var root = resolve_fs_device(name);
if (!root.device.truncate) {
caml_failwith("caml_unix_truncate: not implemented");
caml_failwith("caml_unix_truncate_64: not implemented");
}
root.device.truncate(
root.rest,
Expand Down

0 comments on commit ad605a8

Please sign in to comment.