summaryrefslogtreecommitdiffstats
path: root/support/nfs/svc_socket.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-09-26 13:18:11 -0400
committerSteve Dickson <steved@redhat.com>2008-09-26 13:18:11 -0400
commit44d18e8887cd2fdcf4996ddcbb827ed19aca8b2d (patch)
tree99f2e97e32ab569439108c7c74e029a962fd2c79 /support/nfs/svc_socket.c
parent18c6c616e07ec4fcd27108d87b6f02280d9687d6 (diff)
downloadnfs-utils-44d18e8887cd2fdcf4996ddcbb827ed19aca8b2d.tar.gz
nfs-utils-44d18e8887cd2fdcf4996ddcbb827ed19aca8b2d.tar.xz
nfs-utils-44d18e8887cd2fdcf4996ddcbb827ed19aca8b2d.zip
showmount command: clean up error returns from connect_nb()
Clean up connect_nb() in the showmount command. Sometimes it returns -1 on error, and sometimes a negative errno. On error, it should always return one of these or the other, not both. Similar functions in other parts of nfs-utils return -1 on error, and set errno; so let's do that here too. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/svc_socket.c')
0 files changed, 0 insertions, 0 deletions