Print this page
3910 t_look(3NSL) should never return T_ERROR
*** 21,30 ****
--- 21,31 ----
/*
* Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012 by Delphix. All rights reserved.
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2014 Gary Mills
*/
/*
* nfs_tbind.c, common part for nfsd and lockd.
*** 1587,1599 ****
if (is_listen_fd_index(conn_index))
break;
else
goto fdclose;
- case T_ERROR:
default:
! if (event == T_ERROR || t_errno == TSYSERR) {
if ((errorstr = strerror(errno)) == NULL) {
(void) sprintf(buf,
"Unknown error num %d", errno);
errorstr = (const char *) buf;
}
--- 1588,1599 ----
if (is_listen_fd_index(conn_index))
break;
else
goto fdclose;
default:
! if (t_errno == TSYSERR) {
if ((errorstr = strerror(errno)) == NULL) {
(void) sprintf(buf,
"Unknown error num %d", errno);
errorstr = (const char *) buf;
}