]> xenbits.xensource.com Git - libvirt.git/commit
util: Don't miss the slash in constructed path
authorOsier Yang <jyang@redhat.com>
Mon, 6 May 2013 12:45:13 +0000 (20:45 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 13 May 2013 09:14:51 +0000 (17:14 +0800)
commitb595588fef1a2cfd028e2a327d8d6943a289e0a6
treee906c0cdacbe67c578b76641c8f9ed22bbd81751
parente106c0112a3a5d06fcea74b0d1d130c720c1c829
util: Don't miss the slash in constructed path

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