diff options
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/unixsocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c index 7bc523b145..84dcacd98d 100644 --- a/ext/socket/unixsocket.c +++ b/ext/socket/unixsocket.c @@ -66,7 +66,7 @@ rsock_init_unixsock(VALUE sock, VALUE path, int server) if (status < 0) { close(fd); - rb_sys_fail_str(path); + rb_sys_fail_str(rb_inspect(path)); } if (server) { |