summaryrefslogtreecommitdiffstats
path: root/ftw.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftw.c')
-rw-r--r--ftw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftw.c b/ftw.c
index 9b39cc28..921f809b 100644
--- a/ftw.c
+++ b/ftw.c
@@ -130,8 +130,8 @@ val ftw_wrap(val dirpath, val fn, val flags_in, val nopenfd_in)
case -1:
{
int eno = errno;
- uw_throwf(errno_to_file_error(eno), lit("~a ~a: ~d/~s"),
- self, dirpath, num(eno), errno_to_str(eno), nao);
+ uw_ethrowf(errno_to_file_error(eno), lit("~a ~a: ~d/~s"),
+ self, dirpath, num(eno), errno_to_str(eno), nao);
}
default:
return num(res);