[Wine-patches] [1/5] mountmgr: Add a check for "disk" drive type.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пн Дек 1 18:09:06 MSK 2008


----------- следующая часть -----------
From 331b90c3c3d36b9c1e764ac952d23598ea13775c Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Tue, 25 Nov 2008 16:17:12 +0300
Subject: [PATCH] mountmgr: Add a check for "disk" drive type.

---
 dlls/mountmgr.sys/hal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/mountmgr.sys/hal.c b/dlls/mountmgr.sys/hal.c
index 310b144..df908f9 100644
--- a/dlls/mountmgr.sys/hal.c
+++ b/dlls/mountmgr.sys/hal.c
@@ -134,6 +134,7 @@ static void new_device( LibHalContext *ctx, const char *udi )
 
     if (type && !strcmp( type, "cdrom" )) drive_type = DEVICE_CDROM;
     else if (type && !strcmp( type, "floppy" )) drive_type = DEVICE_FLOPPY;
+    else if (type && !strcmp( type, "disk" )) drive_type = DEVICE_HARDDISK;
     else drive_type = DEVICE_UNKNOWN;
 
     add_dos_device( -1, udi, device, mount_point, drive_type );
-- 
1.6.0.2.GIT



Подробная информация о списке рассылки Wine-patches