commit 162a294f2d1a5db69178c730dd463e776a8aa2f0
Author: Hannes Reinecke <hare@suse.de>
Date:   Thu Mar 20 16:05:48 2008 +0100

    Sanitize regular expression for HP machine
    
    The regular expression for HP machines results in a compilation
    warning "unknown escape sequence '\)".
    I doubt that it'll do the right thing, so better use something
    less advanced but compilable.
    And the new HP MSA actually uses DEFAULT_GETUID, so we can
    as well specify it.
    
    Signed-off-by: Hannes Reinecke <hare@suse.de>

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index ac1669f..1c52b93 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -140,7 +140,7 @@ static struct hwentry default_hw[] = {
 	{
 		/* EVA 3000/5000 with new firmware, EVA 4000/6000/8000 */
 		.vendor        = "(COMPAQ|HP)",
-		.product       = "HSV1[01]1 \(C\)COMPAQ|HSV[23][01]0",
+		.product       = "HSV1[01]1 .C.COMPAQ|HSV[23][01]0",
 		.getuid        = DEFAULT_GETUID,
 		.features      = DEFAULT_FEATURES,
 		.hwhandler     = DEFAULT_HWHANDLER,
@@ -157,7 +157,7 @@ static struct hwentry default_hw[] = {
 		/* HP MSA2000 product family */
 		.vendor        = "HP",
 		.product       = "MSA2[02]12*",
-		.getuid        = "/sbin/scsi_id -g -u -s /block/%n",
+		.getuid        = DEFAULT_GETUID,
 		.features      = DEFAULT_FEATURES,
 		.hwhandler     = DEFAULT_HWHANDLER,
 		.selector      = DEFAULT_SELECTOR,
