diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb index b7d7c17291..dcd4b93532 100644 --- a/tool/mk_builtin_loader.rb +++ b/tool/mk_builtin_loader.rb @@ -117,7 +117,7 @@ def mk_builtin_header file begin f = open(ofile, 'w') - rescue Errno::EACCESS + rescue Errno::EACCES # Fall back to the current directory f = open(File.basename(ofile), 'w') end