Skip to content

Commit 641f2be

Browse files
piscisaureusBert Belder
authored and
Bert Belder
committed
Fix UVException errno bug
1 parent ded97eb commit 641f2be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ Local<Value> UVException(int errorno,
835835
if (!msg || !msg[0])
836836
msg = get_uv_errno_message(errorno);
837837

838-
Local<String> estring = String::NewSymbol(errno_string(errorno));
838+
Local<String> estring = String::NewSymbol(get_uv_errno_string(errorno));
839839
Local<String> message = String::NewSymbol(msg);
840840
Local<String> cons1 = String::Concat(estring, String::NewSymbol(", "));
841841
Local<String> cons2 = String::Concat(cons1, message);

0 commit comments

Comments
 (0)