diff options
Diffstat (limited to 'base/socket.cc')
-rw-r--r-- | base/socket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/socket.cc b/base/socket.cc index aa6a183a9..ee87dc057 100644 --- a/base/socket.cc +++ b/base/socket.cc @@ -64,7 +64,7 @@ ListenSocket::listen(int port, bool reuse) fd = ::socket(PF_INET, SOCK_STREAM, 0); if (fd < 0) - panic("Can't create socket!"); + panic("Can't create socket:%s !", strerror(errno)); if (reuse) { int i = 1; |