14 lines
644 B
Diff
14 lines
644 B
Diff
|
Index: xen-4.0.0-testing/tools/python/xen/util/blkif.py
|
||
|
===================================================================
|
||
|
--- xen-4.0.0-testing.orig/tools/python/xen/util/blkif.py
|
||
|
+++ xen-4.0.0-testing/tools/python/xen/util/blkif.py
|
||
|
@@ -81,7 +81,7 @@ def parse_uname(uname):
|
||
|
|
||
|
if typ == "drbd":
|
||
|
if not fn.startswith("drbd"):
|
||
|
- (drbdadmstdin, drbdadmstdout) = os.popen2(["/sbin/drbdadm", "sh-dev", fn])
|
||
|
+ (drbdadmstdin, drbdadmstdout) = os.popen2("/sbin/drbdadm "+"sh-dev "+fn)
|
||
|
fn = drbdadmstdout.readline().strip()
|
||
|
else:
|
||
|
fn = "/dev/%s" %(fn,)
|