mount.nfs: use nfs_error instead of fprintf in get_socket()
authorChuck Lever <chuck.lever@oracle.com>
Sat, 28 Jul 2007 21:50:50 +0000 (17:50 -0400)
committerNeil Brown <neilb@suse.de>
Mon, 30 Jul 2007 06:12:53 +0000 (16:12 +1000)
commit612141ad76b47cb3d7ae505795d6a1ca45b77201
treea108b4f4f52c4c03b03d6ec11a94fd9149796083
parent12e990f4b07172c693203ffd1e12d0518cacb9e6
mount.nfs: use nfs_error instead of fprintf in get_socket()

Use nfs_error() where appropriate.  I used "goto" here to reduce string
splitting and indenting past the point of readability.  Gee, it would be
nice if C had proper exception handling...

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/network.c