summaryrefslogtreecommitdiffstats
path: root/src/hdaccess.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-11-01 10:01:42 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2011-11-01 10:01:42 +0100
commit0bf1fddbbb4d5900522864a39cfe09ebcf3b4682 (patch)
tree2ef06bc96eecd463197b836d95f0e7ba2d54e410 /src/hdaccess.c
parentc7e5f5050412380f2c49a082ba9386133d674094 (diff)
Search for Linux /dev/md* device instead of /dev/md?
Diffstat (limited to 'src/hdaccess.c')
-rw-r--r--src/hdaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdaccess.c b/src/hdaccess.c
index e3c5efd..98ac119 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -363,7 +363,7 @@ list_disk_t *hd_parse(list_disk_t *list_disk, const int verbose, const arch_fnct
#ifdef HAVE_GLOB_H
list_disk=hd_glob_parse("/dev/mapper/*", list_disk, verbose, arch, testdisk_mode);
/* Software Raid (partition level) */
- list_disk=hd_glob_parse("/dev/md?", list_disk, verbose, arch, testdisk_mode);
+ list_disk=hd_glob_parse("/dev/md*", list_disk, verbose, arch, testdisk_mode);
list_disk=hd_glob_parse("/dev/sr?", list_disk, verbose, arch, testdisk_mode);
/* Software (ATA)Raid configured (disk level) via dmraid */
list_disk=hd_glob_parse("/dev/dm-*", list_disk, verbose, arch, testdisk_mode);