[Pkg-libvirt-commits] [libguestfs] 76/116: v2v: linux: Always match partition number in regexp.

Hilko Bengen bengen at moszumanska.debian.org
Wed Nov 26 22:05:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.29.10-1
in repository libguestfs.

commit b1053150a2da121b3cb8ddc197d0d8e49d930130
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Nov 18 14:16:39 2014 +0000

    v2v: linux: Always match partition number in regexp.
    
    Change the rex_device_p regular expression to always include a
    partition number.
    
    There should be no functional change here.
---
 v2v/convert_linux.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index d5d3169..f2c4461 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -1305,7 +1305,7 @@ let rec convert ~verbose ~keep_serial_console (g : G.guestfs) inspect source =
     and rex_device_cciss =
       Str.regexp "^/dev/\\(cciss/c[0-9]+d[0-9]+\\)$"
     and rex_device_p =
-      Str.regexp "^/dev/\\([a-z]+\\)\\([0-9]*\\)$"
+      Str.regexp "^/dev/\\([a-z]+\\)\\([0-9]+\\)$"
     and rex_device =
       Str.regexp "^/dev/\\([a-z]+\\)$" in
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list