commit 40649c3e1265748cc5756251898a317c1f124999 Author: Tomohiro Kusumi <[email protected]> Date: Thu Sep 8 21:24:10 2016 +0900
sbin/hammer: Return -1 if readlink(2) failed
If the path is a link and readlink(2) failed, it shouldn't continue
with empty buf[].
Summary of changes:
sbin/hammer/cmd_pfs.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/40649c3e1265748cc5756251898a317c1f124999
--
DragonFly BSD source repository
