direct-io.hg

changeset 11735:f8ddc9abf3ef

[XEND] Add missing line from changeset 11653:3b7e11cbeb940
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Oct 10 16:02:30 2006 +0100 (2006-10-10)
parents 4d1af7ebf676
children f7d65fb7299b
files tools/python/xen/util/blkif.py
line diff
     1.1 --- a/tools/python/xen/util/blkif.py	Tue Oct 10 13:48:34 2006 +0100
     1.2 +++ b/tools/python/xen/util/blkif.py	Tue Oct 10 16:02:30 2006 +0100
     1.3 @@ -64,7 +64,7 @@ def blkdev_uname_to_file(uname):
     1.4      """Take a blkdev uname and return the corresponding filename."""
     1.5      fn = None
     1.6      if uname.find(":") != -1:
     1.7 -        (typ, fn) = uname.split(":")
     1.8 +        (typ, fn) = uname.split(":", 1)
     1.9          if typ == "phy" and not fn.startswith("/"):
    1.10              fn = "/dev/%s" %(fn,)
    1.11          if typ == "tap":