mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 15:53:51 +01:00
PhysicalDisk (macOS): adds type unknown detection
This commit is contained in:
@@ -16,6 +16,8 @@ typedef enum __attribute__((__packed__)) FFPhysicalDiskType {
|
||||
FF_PHYSICALDISK_TYPE_READWRITE = 1 << 5,
|
||||
FF_PHYSICALDISK_TYPE_READONLY = 1 << 6,
|
||||
|
||||
FF_PHYSICALDISK_TYPE_UNKNOWN = 1 << 7,
|
||||
|
||||
FF_PHYSICALDISK_TYPE_FORCE_UNSIGNED = UINT8_MAX,
|
||||
} FFPhysicalDiskType;
|
||||
static_assert(sizeof(FFPhysicalDiskType) == sizeof(uint8_t), "");
|
||||
|
||||
Reference in New Issue
Block a user