summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2025-02-17 14:40:18 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2025-02-20 08:54:03 +0100
commit12d9d97bba3299cf140964d25b897383369dec5c (patch)
treedf7da322f157f6120963f6cf8636b13c38493abe
parent5ac2925af669e604698e50f348ce7641de34f8d1 (diff)
Haiku: Add globbing for SCSI disksHEADmaster
On machines without ATA emulation disks appear as SCSI with bus/dev/lun: /dev/disk/scsi/0/0/0/raw Signed-off-by: Christophe Grenier <grenier@cgsecurity.org>
-rw-r--r--src/hdaccess.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hdaccess.c b/src/hdaccess.c
index 9768c07c..aefb125b 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -462,6 +462,7 @@ list_disk_t *hd_parse(list_disk_t *list_disk, const int verbose, const int testd
{
#ifdef HAVE_GLOB_H
list_disk=hd_glob_parse("/dev/disk/*/*/*/raw", list_disk, verbose, testdisk_mode);
+ list_disk=hd_glob_parse("/dev/disk/*/*/*/*/raw", list_disk, verbose, testdisk_mode);
#endif
}
#else