From: Darrick J. Wong <djwong@xxxxxxxxxx> Actually print the path string once we've bothered to construct it into a string buffer. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- io/parent.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/io/parent.c b/io/parent.c index a6f3fa0ca..b18e02c4b 100644 --- a/io/parent.c +++ b/io/parent.c @@ -87,6 +87,8 @@ path_print( ret = path_list_to_string(path, buf + ret, len - ret); if (ret < 0) return ret; + + printf("%s\n", buf); return 0; }