On 05/06/2013 08:45 AM, Osier Yang wrote:
In case of the caller can pass a "prefix" (or
"sysfs_prefix")
without the trailing slash, and Unix-Like system always eats
up the redundant "slash" in the filepath, let's add it explicitly.
---
src/util/virutil.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
ACK - since it avoids possible misuse and extraneous checks to determine
if passed/constant path has the trailing "/"
John