svn commit: r323100 - head/lib/libstand

Toomas Soome tsoome at FreeBSD.org
Fri Sep 1 16:40:14 UTC 2017


Author: tsoome
Date: Fri Sep  1 16:40:12 2017
New Revision: 323100
URL: https://svnweb.freebsd.org/changeset/base/323100

Log:
  libstand: nfs_readlink() should return proper return code
  
  The nfs_readlink() is returning constant 0 instead of variable.
  
  Reviewed by:	avg
  Differential Revision:	https://reviews.freebsd.org/D12201

Modified:
  head/lib/libstand/nfs.c

Modified: head/lib/libstand/nfs.c
==============================================================================
--- head/lib/libstand/nfs.c	Fri Sep  1 16:29:39 2017	(r323099)
+++ head/lib/libstand/nfs.c	Fri Sep  1 16:40:12 2017	(r323100)
@@ -382,7 +382,7 @@ nfs_readlink(struct nfs_iodesc *d, char *buf)
 	buf[repl->len] = 0;
 done:
 	free(pkt);
-	return (0);
+	return (rc);
 }
 #endif
 


More information about the svn-src-head mailing list