Skip to content

Commit 0a3716b

Browse files
committed
Runtime: fix error messages
1 parent a7bce7d commit 0a3716b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runtime/js/unix.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ function caml_unix_stat(name) {
220220
function caml_unix_stat_64(name) {
221221
var root = resolve_fs_device(name);
222222
if (!root.device.stat) {
223-
caml_failwith("caml_unix_stat: not implemented");
223+
caml_failwith("caml_unix_stat_64: not implemented");
224224
}
225225
return root.device.stat(
226226
root.rest,
@@ -250,7 +250,7 @@ function caml_unix_lstat(name) {
250250
function caml_unix_lstat_64(name) {
251251
var root = resolve_fs_device(name);
252252
if (!root.device.lstat) {
253-
caml_failwith("caml_unix_lstat: not implemented");
253+
caml_failwith("caml_unix_lstat_64: not implemented");
254254
}
255255
return root.device.lstat(
256256
root.rest,
@@ -363,7 +363,7 @@ function caml_unix_truncate(name, len) {
363363
function caml_unix_truncate_64(name, len) {
364364
var root = resolve_fs_device(name);
365365
if (!root.device.truncate) {
366-
caml_failwith("caml_unix_truncate: not implemented");
366+
caml_failwith("caml_unix_truncate_64: not implemented");
367367
}
368368
root.device.truncate(
369369
root.rest,

0 commit comments

Comments
 (0)